The promise to be executed. It needs to throw an error in case of failure
OptionalmaxThe absolute maximum number of retrials. Default: 20
The callback in case of a failure of asyncFn. Can be used to prepare something before
as asyncFn is being called next
The error thrown by asyncFn
The number of retrials (incremented automatically) so far
true if asyncFn should be called again, or false
OptionalretryThe counter of retrials. It is managed automatically, so you do not need to set this
Args object for asyncRetry