p-wait-for

Waiter

A utility function to wait for a condition to be true while allowing for customizable timeout options and fallback behavior.

Wait for a condition to be true

GitHub

155 stars
8 watching
19 forks
Language: JavaScript
last commit: over 3 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/delayAllows delaying promises by a specified amount of time or a random range.609
sindresorhus/p-anyA utility function to wait for any of multiple promises to be fulfilled with cancellation support.55
sindresorhus/p-timeoutA utility function to decorate and manage timeouts on promises.275
stavrospanakakis/is_readyA tool that waits until multiple addresses become accessible135
jvoegele/wait_for_itProvides a way to wait for the completion of asynchronous or remote operations in Elixir15
sindresorhus/p-eventPromises an event by waiting for it to be emitted, allowing asynchronous iteration and rejection handling.429
sindresorhus/p-timeA utility to measure the time taken by a promise to resolve70
sindresorhus/p-catch-ifA utility function for handling conditional promise catches38
elgohr/stop-and-goA utility package providing a wait function to manage asynchronous tasks and their dependencies.10
sindresorhus/p-filterTool for filtering and concurrent execution of promises with an adjustable concurrency level75
sindresorhus/p-tryA utility function to start a promise chain by executing a synchronous function safely58
bendemboski/ember-concurrency-test-waiterAn addon to instrument Ember's concurrency tasks to wait for their completion before proceeding with tests21
sindresorhus/p-retryA utility for automatically retrying failed promise-returning or async functions with exponential backoff and customizable error handling.808
sindresorhus/p-tapHelps tap into a promise chain without affecting its value or state132