Skip to content

Latest commit

 

History

History

messagefanout

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.