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

API Browser

Property

IsCancelled

val IsCancelled: bool

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

Gets whether the producer cancelled the task.

Property value

Boolean

Remarks

Also used by the provisional async compiler protocol.