onEvent property

EventStream<OnEventEvent> get onEvent

Fired whenever debugging target issues instrumentation event.

Implementation

EventStream<OnEventEvent> get onEvent =>
    $js.chrome.debugger.onEvent.asStream(($c) => (
          $js.Debuggee source,
          String method,
          JSAny? params,
        ) {
          return $c(OnEventEvent(
            source: Debuggee.fromJS(source),
            method: method,
            params: params?.toDartMap(),
          ));
        }.toJS);