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
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
-
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