onExecutionContextDestroyed property

Stream<ExecutionContextDestroyedEvent> get onExecutionContextDestroyed

Issued when execution context is destroyed.

Implementation

Stream<ExecutionContextDestroyedEvent> get onExecutionContextDestroyed =>
    _client.onEvent
        .where((event) => event.name == 'Runtime.executionContextDestroyed')
        .map(
          (event) =>
              ExecutionContextDestroyedEvent.fromJson(event.parameters),
        );