onConnectNative property

EventStream<Port> get onConnectNative

Fired when a connection is made from a native application. Currently only supported on Chrome OS.

Implementation

EventStream<Port> get onConnectNative =>
    $js.chrome.runtime.onConnectNative.asStream(($c) => ($js.Port port) {
          return $c(Port.fromJS(port));
        }.toJS);