Skip to content

Files

Latest commit

 

History

History

messagefanout

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Mar 22, 2024
Apr 3, 2024
Jul 17, 2024
Mar 22, 2024
Jan 7, 2025
Mar 22, 2024
Mar 22, 2024
Jul 17, 2024
Aug 2, 2024
Jan 7, 2025
Jan 7, 2025

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.