Running

data class Running(val progress: Float? = null, val message: String? = null) : TaskState

Task handler is currently executing.

Optionally carries progress information reported via TaskExecutionContext.reportProgress.

Parameters

progress

Percentage complete (0.0–1.0), or null if unknown.

message

Optional human-readable status message.

Constructors

Link copied to clipboard
constructor(progress: Float? = null, message: String? = null)

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
val message: String? = null
Link copied to clipboard
val progress: Float? = null