IsolateTask<T> class abstract

Base class for tasks running in isolates

Constructors

IsolateTask()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Clean up workers
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
perform({void onDone(T result)?, void onError(Object error)?}) Future<void>
Perform the task in an isolate Optional callbacks for completion and error
performTask() FutureOr<T>
Task logic to implement This will run in a separate isolate
toString() String
A string representation of this object.
inherited

Operators

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