A strategy that throttle, but using an exponential backoff strategy.
The throttle in milliseconds to start with.
The factor to multiple the throttle time between every poll. For example if using 2, the throttle will double between every run.
A best practices polling strategy: wait 2 seconds before the first poll, then 1 second with an exponential backoff factor of 1.2. Timeout after 5 minutes.
Error out after a maximum number of polling has been done.
The maximum attempts to poll.
Predicate that returns true once.
Amount in millisecond to wait between each polling.
Reject a call after a certain amount of time.
Time in milliseconds before the polling should be rejected.
Generated using TypeDoc