onConnectExternal property

EventStream<Port> get onConnectExternal

Fired when a connection is made from another extension (by runtime.connect), or from an externally connectable web site.

Implementation

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