p-listen

0.1.0 • Public • Published

p-listen

The Promises equivalent of EventEmitter#once; allows potentially multiple call-sites to register a one-off listener for a future notification, representing the listener as a Promise.

Also frequently useful for emitting internal events in async abstractions, where there may or may not be interested listeners at any given moment.

TODO: Complete docs

Readme

Keywords

none

Package Sidebar

Install

npm i p-listen

Weekly Downloads

0

Version

0.1.0

License

WTFPL OR CC0-1.0

Unpacked Size

1.41 kB

Total Files

4

Last publish

Collaborators

  • joepie91