make function retry-able
e.g. if maxRetryCount is 3, it will run 3 times at most (include the first one), and return the final error.
maxRetryCount
5.14.0
async function, return promise
the maximum number of times a runner should retry, default is 3
(async function required, for sync function, this parameter will not be applied) the wait milliseconds before retry, default is zero
make function retry-able
e.g. if
maxRetryCount
is 3, it will run 3 times at most (include the first one), and return the final error.Since
5.14.0