npm i @winglibs/messagefanout
bring messagefanout;
let fanout = new messagefanout.MessageFanout();
fanout.addConsumer(inflight (msg: str) => {
log("Hello {msg}!!!");
});
test "push a message to fanout" {
fanout.publish("world");
}
This library is licensed under the MIT License.