RunnerService class Null safety

Wraps a Runner and ensures that it's spawned before executing any operations

Implemented types
Available Extensions

Constructors

RunnerService(RunnerBuilder builder, Future<Runner> spawner)

Properties

builder RunnerBuilder
final
debugName String
read-only
defaultTimeout Duration?
read-only
errors Stream
read-only
hashCode int
The hash code for this object.
read-onlyinherited
i int
read / write
isShuttingDown bool
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

close() Future
Stop the runner.
override
kill([Duration timeout = const Duration(seconds: 1)]) Future?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
ping([Duration duration = const Duration(seconds: 1)]) Future<bool>
ready() Future<RunnerService>
run<R, P>(FutureOr<R> function(P argument), P argument, {String? name, Duration? timeout, FutureOr<R> onTimeout()?, bool ignoreShutdown = false}) Future<R>
Request that function be called with the provided arguments.
override
submit<ParamType>(String key, ParamType params) Future<Work?>
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

platform WorkerServicePlatform
final