An implementation of a loop for asynchronous functions.
the number of iterations.
the function to run each iteration
the callback that will be called upon succesful execution
Break the loop and run the success callback.
Execute the next iteration. Must be called after the last iteration was finished.
A for-loop that will run a given number of iterations synchronous and the rest async.
total number of iterations
number of synchronous iterations in each async iteration.
the function to call each iteration.
a success call back that will be called when iterating stops.
a break condition (optional)
timeout settings for the setTimeout function. default - 0.
Generated using TypeDoc