ImmediateExecutor class

an executor that invokes the compute function immediately when submitted.

Inheritance

Constructors

ImmediateExecutor()

Properties

disposed bool
no setteroverride
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
called when done, cancels any oustanding jobs
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
submit<Q, R>(Job<Q, R> job) Future<R>
override
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
override
toString() String
A string representation of this object.
inherited

Operators

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