ticketbus
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

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();

/ticketbus/

    Package Sidebar

    Install

    npm i ticketbus

    Homepage

    http:

    Weekly Downloads

    6

    Version

    1.1.2

    License

    MIT

    Unpacked Size

    31.7 kB

    Total Files

    21

    Last publish

    Collaborators

    • komenixx