sindresorhus/
Wait for a condition to be true
USD raised
Recent activities
A question about code style
can't compile spread operator
Resolve with return value
Allow configuring whether a leading check is done
It should export TimeoutError to ensure it's the same error it's being thrown
Ignore errors
Expose all timeout options (custom `message`, `customTimers`)
Does it limit the concurrency?
Support ESM
Timeout during execution of condition causes condition to be called forever
Idea: Use argument instead of `pWaitFor.resolveWith`
before: false bypasses timeout fallback and custom error during the initial delay
Polling leaves one abort listener per completed interval on the supplied signal
Abort and timeout cannot settle the wait while an async condition is pending
Β© 2019 BoostIO, Inc.