p-event

Event promiser

Promises an event by waiting for it to be emitted, allowing asynchronous iteration and rejection handling.

Promisify an event by waiting for it to be emitted

GitHub

429 stars
8 watching
25 forks
Language: JavaScript
last commit: over 2 years ago
Linked from 1 awesome list


Backlinks from these awesome lists:

Related projects:

RepositoryDescriptionStars
sindresorhus/p-someWait for a specified number of promises to be fulfilled36
sindresorhus/p-anyA utility function to wait for any of multiple promises to be fulfilled with cancellation support.55
sindresorhus/p-raceImproves Promise.race() by preventing infinite pending promises and adding support for aborting promises using AbortSignal.46
sindresorhus/p-timeA utility to measure the time taken by a promise to resolve70
sindresorhus/p-filterTool for filtering and concurrent execution of promises with an adjustable concurrency level75
sindresorhus/p-tapHelps tap into a promise chain without affecting its value or state132
sindresorhus/p-deferProvides a promise that can be delayed to execute at a specific time or after another operation is completed.77
sindresorhus/observable-to-promiseConverts an Observable to a Promise for asynchronous data handling47
sindresorhus/p-allConcurrently execute multiple promise-returning functions with optional concurrency limits.319
sindresorhus/pifyPromises utility to convert callback-style functions into promise-based versions.1,505
sindresorhus/p-tryA utility function to start a promise chain by executing a synchronous function safely58
sindresorhus/p-logUtility for logging promise values and errors in a chain of operations26
sindresorhus/p-timesRuns promise-returning & async functions multiple times concurrently39
sindresorhus/delayAllows delaying promises by a specified amount of time or a random range.609
sindresorhus/p-mapA utility for mapping over promises concurrently while controlling concurrency and error handling.1,376