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 1 year ago
Linked from 1 awesome list


Backlinks from these awesome lists:

Related projects:

Repository Description Stars
sindresorhus/p-some Wait for a specified number of promises to be fulfilled 36
sindresorhus/delay Allows delaying promises by a specified amount of time or a random range. 609
sindresorhus/p-any A utility function to wait for any of multiple promises to be fulfilled with cancellation support. 55
sindresorhus/p-timeout A utility function to decorate and manage timeouts on promises. 274
stavrospanakakis/is_ready A tool that waits until multiple addresses become accessible 135
jvoegele/wait_for_it Provides a way to wait for the completion of asynchronous or remote operations in Elixir 15
sindresorhus/p-event Promises an event by waiting for it to be emitted, allowing asynchronous iteration and rejection handling. 429
sindresorhus/p-time A utility to measure the time taken by a promise to resolve 70
sindresorhus/p-catch-if A utility function for handling conditional promise catches 38
elgohr/stop-and-go A utility package providing a wait function to manage asynchronous tasks and their dependencies. 10
sindresorhus/p-filter Tool for filtering and concurrent execution of promises with an adjustable concurrency level 72
sindresorhus/p-try A utility function to start a promise chain by executing a synchronous function safely 57
bendemboski/ember-concurrency-test-waiter An addon to instrument Ember's concurrency tasks to wait for their completion before proceeding with tests 21
sindresorhus/p-retry A utility for automatically retrying failed promise-returning or async functions with exponential backoff and customizable error handling. 795
sindresorhus/p-tap Helps tap into a promise chain without affecting its value or state 132