wv-local-service-broker
v0.9.9
Published
It synchronizes socket.io messages between services on the localhost
Downloads
3
Readme
wv-local-service-bus
Purpose
To provide a service broker for local services.
Package Dependencies
- http
- socket.io.
Technical Dependencies
Each service that will be exposed using the service broker LocalServiceBroker which by nature runs in another process, must use LocalService from wv-local-service package, for registering in the broker. Please find how to implement it in the readme.md of wv-local-service package.
How to Use
import { LocalServiceBroker } from 'wv-local-service-broker'
new LocalServiceBroker(12345).start();
You may find a commented out sample code in
/src/index.ts
file. You could uncommnet it and run the following command in the terminal to get your hands in quickly.
tsc && node ./dist/index
Please find the readme.md of wv-localhost-service package for more info on the service side.