AttemptDeferred

data class AttemptDeferred(val taskId: String, val at: Instant, val attempt: Int, val reason: DeferralReason) : MonitorEvent

The platform fired the worker but the library deferred execution because a predicate was not met. Followed (after the library converts to retry) by a WorkCompleted with WorkResult.Retry. See DeferralReason for the discriminator.

Constructors

Link copied to clipboard
constructor(taskId: String, at: Instant, attempt: Int, reason: DeferralReason)

Properties

Link copied to clipboard
open override val at: Instant

Wall-clock time the event was emitted.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val taskId: String

The task this event belongs to.