Skip to content

EventEmitter implementation with support for queuing event dispatches if no listeners are added and more

Notifications You must be signed in to change notification settings

VictorQueiroz/eventual-js

Repository files navigation

eventual-js

Installation

yarn add eventual-js

Usage

const e = new EventEmitter<{ a: number }>();
e.on('a', (n) => console.log('received event: %d', n));
e.emit('a', 1);
e.emit('a', 2);
e.emit('a', 3);
e.emit('a', 4);

About

EventEmitter implementation with support for queuing event dispatches if no listeners are added and more

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published