IsolateExecutor class abstract
Runs jobs on a single isolate.
- Inheritance
-
- Object
- Executor
- ExecutorDelegate
- IsolateExecutor
Constructors
- IsolateExecutor()
-
factory
Properties
- disposed → bool
-
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- outstanding → int
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void -
called when done, cancels any oustanding jobs
override
-
hasJobWithDeduplicationKey(
Job job) → bool -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
submit<
Q, R> (Job< Q, R> job) → Future<R> -
inherited
-
submitAll<
Q, R> (Job< Q, R> job) → List<Future< R> > -
submits the given function and value to all isolates in the executor,
useful for cases where state must be set up in isolates prior to executing
jobs
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited