@winglibs/messagefanout
v0.0.9
Published
Message fanout library for Wing
Downloads
4
Readme
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.