0.0.10 • Published 6 months ago
@winglibs/messagefanout v0.0.10
messagefanout
Prerequisites
Installation
npm i @winglibs/messagefanout
Usage
bring messagefanout;
let fanout = new messagefanout.MessageFanout();
fanout.addConsumer(inflight (msg: str) => {
log("Hello {msg}!!!");
});
test "push a message to fanout" {
fanout.publish("world");
}
License
This library is licensed under the MIT License.