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.
Chain multiple polling strategy. This chains the strategies, so if you pass in, say, two throttling strategy of 1 second, it will result in a throttle of 2 seconds.
A strategy list to chain.
Delay the polling once.
A predicate that indicates when to delay.
The amount of time to delay.
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.
Throttle polling.
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
A strategy that throttle, but using an exponential backoff strategy.