Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 722 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 722 Bytes

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