Cancelled

data class Cancelled(val reason: String = "") : TaskState

Task was explicitly cancelled via KmpWorker.cancel. No retry will occur after cancellation.

Parameters

reason

The reason why the task was cancelled.

Constructors

Link copied to clipboard
constructor(reason: String = "")

Properties

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).

Link copied to clipboard