SameIsolateRunner class

Runs code in the calling isolate. Basically, this offers no parallelism

Available extensions

Constructors

SameIsolateRunner()

Properties

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

Methods

close() → Future<void>
Stop the runner.
override
closeWhenParentIsolateExits() → Future

Available on Runner, provided by the RunnerExtension extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run<R, P>(FutureOr<R> function(P argument), P argument, {Duration? timeout, FutureOr<R> onTimeout()?}) → Future<R>
Request that function be called with the provided arguments.
override
toString() → String
A string representation of this object.
inherited

Operators

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