repeat
repeat(
options): <A>(task) =>Task<A[]>
Defined in: Core/Task.ts:161
Runs a Task a fixed number of times sequentially, collecting all results into an array. An optional delay (ms) can be inserted between runs.
Parameters
Section titled “Parameters”options
Section titled “options”delay?
Section titled “delay?”number
number
Returns
Section titled “Returns”<
A>(task):Task<A[]>
Type Parameters
Section titled “Type Parameters”A
Parameters
Section titled “Parameters”Task<A>
Returns
Section titled “Returns”Task<A[]>