isolateExits property

Stream<String> get isolateExits

Ids of isolates that exit; empty while the client is not connected.

Implementation

Stream<String> get isolateExits => _vm.isConnected
    ? _vm.service.onIsolateEvent.where((e) => e.kind == EventKind.kIsolateExit).map((e) => e.isolate?.id ?? '')
    : const Stream.empty();