PrivateconstructorReadonlycancelledThis property can't be read in early-execution mode.
ReadonlyprogressThe current normalized task progress from 0 to 1. Task groups report the average progress of their constituent tasks. Successful tasks report 1 after settlement; failed or cancelled tasks retain their last observed progress.
This property can't be read in early-execution mode.
ReadonlypromiseThe promise that resolves with the task's numeric result. If
cancellation is accepted, the promise rejects with a
TaskCancelledError.
This property can't be read in early-execution mode.
Requests cancellation of the task. Calling this method more than once, or after the task has settled, has no effect.
This function can't be called in early-execution mode.
Represents a cancellable Editor task that resolves with a numeric result.
Source