1.53.4 • Published 10 months ago

@platformatic/bus v1.53.4

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
10 months ago

@platformatic/bus

A simple Bus implementation for inter-thread communication.

Check out the full documentation for Platformatic DB on our website.

Install

npm install @platformatic/bus

Usage

main.js

import { Bus } from '@platformatic/bus'

const bus = new Bus('root')
bus.send('worker', 'message')

worker.js

import { Bus } from '@platformatic/bus'

const bus = new Bus('worker')
bus.on('message', message => console.log(message))

License

Apache 2.0

1.53.4

10 months ago

1.53.3

11 months ago

1.53.0

11 months ago

1.53.1

11 months ago

1.52.3

12 months ago

1.52.2

1 year ago

1.52.1

1 year ago

1.52.0

1 year ago

1.51.8

1 year ago

1.50.0

1 year ago

1.49.1

1 year ago

1.49.0

1 year ago

1.48.0

1 year ago