Array containing the invocation context (the this
value) and
any parameters passed to the invocation.
Queues invocations of a function until the specified signals are ready.
Optionally, allows filtering the queued invocations or modifying their
arguments or this
contexts.
The function whose invocations should be buffered.
The signals to wait on before ending buffering.
Provides optional manipulation of the buffered invocations. Passed an array of invocations and should return an array of invocations. See the example for details.
A function that will queue invocations while any of the given signals are in a blocked state.
Conditionally invokes the supplied function if the given predicate returns true
.
the type of arguments the wrapped function accepts
the return type of the wrapped function
The function to invoke conditionally.
A lodash iteratee to act as a predicate function. Iteratee will
return true
or false
depending on whether the passed function should be invoked
and will be called with the original set of arguments and context.
A function that will invoke fn
only if predicate
returns true
.
Invokes the specified functions in parallel, handling any returned Promises correctly.
A function that will invoke the given functions in parallel, waiting for any returned Promises to settle, and either resolving with the array of settled return values or else rejecting with the first rejection reason or thrown error.
Invokes the specified functions in sequence, handling any returned Promises correctly.
A function that will invoke the given functions in sequence, waiting for any returned Promises to settle, and either resolving with the last settled return value or else rejecting with the first rejection reason or thrown error.
Contains utilities to wrap one or more functions.