An array of functions to execute.
A number or function returning a number that indicates time in ms between calls.
Output of the last function.
Implements polling mechanism using Interval.
Polling predicate. The polling stops when the predicate returns "false".
Polling timeout duration.
Returns a promise that gets resolved in a given period.
Sleep period.
Executes a given function a specific amount of times.
A function to call.
A number that indicates how many times to call a given function.
A number or function returning a number that indicates time in ms between calls.
Implements polling mechanism using Interval until data or null is returned.
Polling predicate. The polling continues until the predicate returns anything but undefined.
Polling timeout duration.
Generated using TypeDoc
Executes a given array of functions with interval. Each function recieves an output of a previous one. If a timeout is number, the value is used between executions only i.e. the first function will be called with 0 timeout value. Otherwise a given function must calculate timeout value for the first call.