You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Sven Slootweg e2aaed4e03 Initial commit 2 weeks ago
.eslintrc Initial commit 2 weeks ago
.gitignore Initial commit 2 weeks ago
README.md Initial commit 2 weeks ago
index.js Initial commit 2 weeks ago
package.json Initial commit 2 weeks ago
yarn.lock Initial commit 2 weeks ago

README.md

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