Gitlab NPM Twitter
Kado
High Quality JavaScript Libraries

Message

Introduced in 3.0.0

Stability: 2 - Stable

const Message = require('kado/lib/Message')

This library provides a register for Message handlers that may register to both send and receive messages through the system.

Class: Message

Message extends Connect see Connect for more engine management and more.

static Message.getInstance()

Message.constructor()

Message.send(name, options)

Note: when no name is provided all handlers are executed.

Class: MessageEngine

MessageEngine extends ConnectEngine see ConnectEngine for more engine management and more.

MessageEngine.send()

Must be extended and used to send to underlying message system.