ox.scheduling.Schedule.Backoff
See theBackoff companion object
A schedule that represents an increasing duration between invocations (backoff), up to a given number of times.
The backoff is exponential with base 2 (i.e. the next duration is twice as long as the previous one), starting at the given first duration and capped at the given maximum duration.
Value parameters
- firstDuration
-
The duration between the first and the second invocations.
- jitter
-
A random factor used for calculating the duration between subsequent repeats. See Jitter for more details. Defaults to no jitter, i.e. an exponential backoff with no adjustments.
- maxDuration
-
The maximum duration between subsequent invocations.
- maxRepeats
-
The maximum number of repeats.
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
In this article