TimedOut

data class TimedOut(val afterMillis: Long) : TaskState

Task exceeded the KmpWorkerConfig.taskTimeout duration and was stopped. No retry will occur after a timeout — treat the same as Cancelled.

Parameters

afterMillis

How many milliseconds the task ran before being timed out.

Constructors

Link copied to clipboard
constructor(afterMillis: Long)

Properties

Link copied to clipboard
Link copied to clipboard

True if the task is currently active (Scheduled or Running).

Link copied to clipboard

True if the task is in a terminal state (Success, Failed without retry, Cancelled, or TimedOut).