SpawnedIsolate constructor

SpawnedIsolate(
  1. int id,
  2. Object spawnEntry,
  3. String type,
  4. Directory projectDirectory,
  5. Isolate isolate,
  6. Completer<int> _isolateCompleter,
  7. Duration _isolateCheckPingTimeout,
  8. String? observatoryURL, {
  9. OnSpawnedIsolateStop? onStop,
  10. bool stopByKill = false,
})

Implementation

SpawnedIsolate(
  this.id,
  this.spawnEntry,
  this.type,
  this.projectDirectory,
  this.isolate,
  this._isolateCompleter,
  this._isolateCheckPingTimeout,
  this.observatoryURL, {
  this._onStop,
  this.stopByKill = false,
}) {
  _listenSignals();
  _scheduleCheckIsolate();
}