Parallel class

Constructors

Parallel()
factory

Properties

eventStream Stream<TaskEvent>
no setter
hashCode int
The hash code for this object.
no setterinherited
maxConcurrentPerIsolate int
final
numberOfIsolates int
final
onInitialization → (FutureOr<void> Function()?)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

isMainIsolate bool
no setter

Static Methods

initialize({required int numberOfIsolates, int maxConcurrentPerIsolate = 10, FutureOr<void> onInitialization()?}) Future<void>
run<T>(Future<T> fn()) Future<T>
runInMain<T>(FutureOr<T> fn()) Future<T>