IsolateWorkerPool<T, R> class

A pool of workers.

It's recommended that count is less or equal to the number of CPU cores.

Constructors

IsolateWorkerPool({int count = 4})

Properties

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

Methods

destroy() → void
init() Future
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(IsolateTask<T, R> task) Future<R?>
sendMany(List<IsolateTask<T, R>> tasks) Future<List<R?>>
toString() String
A string representation of this object.
inherited

Operators

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