The object to resolve properties of
obj - New object of resolved promise properties
delay for ms
The milliseconds to delay for
Delay from a timestamp for milliseconds
The millisecond Date
timestamp to start the delay from
The milliseconds to delay for
Delay until a timestamp milliseconds
The millisecond Date
timestamp to start the delay from
Run a bunch of promises in series, if the one fails move onto the next.
The iterable
{ description_of_the_return_value }
Run a bunch of promises, if the first fails return the next until all promises have been checked. All promises start resolving immediately.
The iterable
{ description_of_the_return_value }
map an async function across an iterable
Array of resolved promises
map an async function across an iterable with up to N promises
The asynchronous function
map an async function in series across an iterable
The asynchronous function
Create a promise and return the promise, resolve and reject Allows you to choose whether to resolve/reject something outside the promise scope
Wait until a timestamp or some condition function to become truthey. Can be an async or standard function
The Date
timestamp to wait until
The test function to call repeatedly
Options
Label to attach to thrown Error
Wait between tests (1000)
Use n workers to resolve a function across an iterable. (via .mapSeries
)
Results array is grouped by worker, then the order a worker iterated in, so doesn't match the initial array order.
if you need to inspect results include some type of id in the return.
mapConcurrent
should replace this
Number of functions to execute
The iterator of values to use
The async function
Generated using TypeDoc
Resolve all promises in an object