Executor class abstract

Constructors

Executor()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status ExecutorStatus
getter/setter pair
unfinishedTasks Iterable<ConcurrentTask>
no setter

Methods

close([CloseLevel level = CloseLevel.afterRunningFinished]) FutureOr<void>
need user close executor manually
init() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
submit<R>(ConcurrentTask<FutureOr<R>> task) Future<R>
submit a concurrent task, you need to implements ConcurrentTask
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

createExecutor([int coreWorkerSize = 1]) Future<Executor>
create an executor instance, coreWorkerSize is the number of isolates executing the task