Wondering what’s next for npm?Check out our public roadmap! »

    @boost/event
    TypeScript icon, indicating that this package has built-in type declarations

    2.3.2 • Public • Published

    Events - Boost

    Build Status npm version npm deps

    A strict event system with multiple emitter patterns.

    import { Event } from '@boost/event';
    
    const event = new Event<[string, number]>('name');
    
    event.listen(listener);
    event.emit(['abc', 123]);

    Features

    • Isolated event instances for proper type-safety.
    • Supports 4 event types: standard, bail, concurrent, and waterfall.
    • Listener scopes for targeted emits.

    Installation

    yarn add @boost/event
    

    Documentation

    https://boostlib.dev/docs/event

    Install

    npm i @boost/event

    DownloadsWeekly Downloads

    1,921

    Version

    2.3.2

    License

    MIT

    Unpacked Size

    58.6 kB

    Total Files

    46

    Last publish

    Collaborators

    • avatar