Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Property

State

val State: TaskState

Declaring type: Task<T>
Module: System.Concurrency.Tasks
Assembly: System.Runtime.dll
Source file: Tasks.rvn

Gets Pending, Completed or Cancelled.

Property value

TaskState

Remarks

Completed means a value is available. Cancelled is a separate terminal state.