SpawnedIsolate class

The spawned Dart script isolate "process".

Constructors

SpawnedIsolate(int id, Object spawnEntry, String type, Directory projectDirectory, Isolate isolate, Completer<int> _isolateCompleter, Duration _isolateCheckPingTimeout, String? observatoryURL, {OnSpawnedIsolateStop? onStop, bool stopByKill = false})

Properties

exitCode Future<int>
The Dart script/file exit code.
no setter
hashCode int
The hash code for this object.
no setterinherited
id int
The ID (same of DartSpawner.id source).
final
isFinished bool
Returns true if the spawned Dart script/file have finished.
no setter
isolate Isolate
The spawned Isolate.
final
observatoryURL String?
The Dart VM Observatory URL.
final
projectDirectory Directory
The target project Directory.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spawnEntry Object
The Dart entry used to spawn.
final
stopByKill bool
final
type String
The spawn type.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
stop(int exitCode, {String? reason}) Future<bool>
Stops the process.
toString() String
A string representation of this object.
override

Operators

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