TaskHandle class abstract

Handle used for the manipulation of the task.

Constructors

TaskHandle(bool cancelLambda(), bool isFinishedGetLambda(), bool isCancelledGetLambda())
Handle used for the manipulation of the task.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
isCancelled → bool
Completion indication. True, if this task was canceled before it completed normally. Gets a boolean indicating if this task is cancelled.
no setter
isFinished → bool
Completion indication. True, if this task is completed. Completion may be due to normal termination, an exception, or cancellation - in all of these cases, result will return true. Gets a boolean indicating if this task is completed.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancel() → bool
Sets internal state of task to 'canceled'.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited