Promise Repeater
Main
The promise repeater plugin allows you to "try" and repeat promises until they are resolved. It also allows you establish a margin of milliseconds between each try.
Methods
Usage
Result:
Last updated
The promise repeater plugin allows you to "try" and repeat promises until they are resolved. It also allows you establish a margin of milliseconds between each try.
Result:
Last updated
Method
Description
maxAttempts
Sets limit of attempts for retrying promise
unlimitedAttempts
Sets a infinite limit of attempts
delay
Sets a delay (in milliseconds) for each retry
start | attempt
Starts the process of resolving the promise and retrying until it is resolved