ticketbus
v1.1.2
Published
Tool for sending async request with delay.
Downloads
4
Readme
TicketBus
Installation using yarn:
yarn add ticketbus
Usage:
import TicketBus from 'ticketbus';
const bus = new TicketBus.Bus();
bus.addRelay('nameChanged', () => { console.log('Name changed, this fn will be called on bus.send()'); });
console.log(bus.getRelays());
bus.send();