Postup
Multi channel message bus
Postup is a multi channel message bus written in TypeScript. It runs in the browser, or on the server using node.js.
Setup
yarn add postup
or
npm install --save postup
Usage
Before you start import the library
Basic usage
// Setup a new bus with no bufferconst bus = const chan = bus // Data published can be anythingconst context = test: true // Setup a subscriberconst ubsubscribe = bus // Publish some datachan // Cleanup