IsolateManager class

Web implementation of IsolateManager that runs tasks on the main thread. Isolates are not supported on web platforms, so this implementation executes tasks synchronously instead.

Properties

hashCode → int
The hash code for this object.
no setterinherited
ready → Future<void>
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
runInComputeIsolate<Q, R>(R task(Q), Q argument) → Future<R>
On web, runs the task synchronously on the main thread
runInComputeIsolateStream<Q, P>(StreamComputeTask<Q, P> task, Q argument) → Stream<P>
On web, runs the streaming task on the main thread
runInEncodingIsolate<Q, R>(R task(Q), Q argument) → Future<R>
On web, runs the task synchronously on the main thread
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

instance → IsolateManager
no setter