@luckbox/ipc-messenger
TypeScript icon, indicating that this package has built-in type declarations

2.0.2 • Public • Published

Build Status

Coverage Status

Usage

const ipcMessenger = new RabbitMQIPCMessenger({
  instance: 'test',
  amqp: {
    connectionOpts: {},
    httpUrl: 'http://localhost:15672'
  }
});

Methods

  • join() - Joins the room
  • getOtherInstances() - Retrieves an array of the other participants in the room (room is passed in the constructor)
  • send(message: Message) - Sends a message to the rest of the participants in the room

Readme

Keywords

none

Package Sidebar

Install

npm i @luckbox/ipc-messenger

Weekly Downloads

1

Version

2.0.2

License

ISC

Unpacked Size

17 kB

Total Files

9

Last publish

Collaborators

  • ttecss
  • zupper