Callback to enable the caller stop the while loop.
The zero-based iteration count, which is increased after each call to the callback.
Optional
resThe resolved result value returned by the callback function.
The number of milliseconds that have elapsed since January 1, 1970 00:00:00 UTC,
at the beginning of the while loop. This value is set at the beginning of the while
loop via utcNow()
(Date.now()
) and is not updated during the execution of while loop.
The current state of the while loop while processing the callback function, this is passed to eht callback function.
Since
0.5.0