ScheduledConfig
A config that defines how to schedule an operation.
Type parameters
- E
-
The error type of the operation. For operations returning a
T
or aTry[T]
, this is fixed toThrowable
. For operations returning anEither[E, T]
, this can be anyE
. - T
-
The successful result type for the operation.
Value parameters
- afterAttempt
-
A callback invoked after every attempt, with the current invocation number (starting from 1) and the result of the operation. Might decide to short-circuit further attempts, and stop the schedule. Schedule configuration (e.g. max number of attempts) takes precedence.
- schedule
-
The schedule which determines the maximum number of invocations and the duration between subsequent invocations. See Schedule for more details.
- sleepMode
-
The mode that specifies how to interpret the duration provided by the schedule. See SleepMode for more details.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any