WorkerTask class abstract
Task executed on a worker
- Implementers
Constructors
- WorkerTask()
-
Construct a new request of type
RequestType.task
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → RequestType
-
RequestType
for this message.finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
run(
Worker worker) → Future< WorkerResponse> -
Run the task using the
Worker
context. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited