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

0.0.11 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i eventual-js

Weekly Downloads

3

Version

0.0.11

License

MIT

Unpacked Size

25.5 kB

Total Files

18

Last publish

Collaborators

  • vqueiroz
  • victorqueiroz1