Module

retry

Execute async task with auto-retry
Parameters:
Name Type Description
task The async task function
time The nth number of time for this attempt. Stop retrying if it is equal to ZERO. Default to 3.
delay The milliseconds of delay before each retry, default to 0.

View Source async/retry.js, line 44