Context:
Currently the retry function allows to repeat some function several times while fails until max retries is reached, without provide a way to know how many time was executed
Expected:
Should be usseful to know how many time the function fails or was executed... for example the async-retry package as an option to pass a onRetry callback which is executed on retries...
Context: Currently the
retry
function allows to repeat some function several times while fails until max retries is reached, without provide a way to know how many time was executedExpected: Should be usseful to know how many time the function fails or was executed... for example the
async-retry
package as an option to pass aonRetry
callback which is executed on retries...