Streams Private API.
Streams Private API. * available since Chrome 27
(abort stream-url)
Abort the URL request on the given stream.
|stream-url| - The URL of the stream to abort.
This function returns a core.async channel of type promise-chan
which eventually receives a result value.
Signature of the result value put on the channel is [].
In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
Abort the URL request on the given stream. |stream-url| - The URL of the stream to abort. This function returns a core.async channel of type `promise-chan` which eventually receives a result value. Signature of the result value put on the channel is []. In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
(tap-all-events chan)
Taps all valid non-deprecated events in chromex.ext.streams-private namespace.
Taps all valid non-deprecated events in chromex.ext.streams-private namespace.
(tap-on-execute-mime-type-handler-events channel & args)
Fired when a resource is fetched which matches a mime type handled by this extension. The resource request is cancelled, and the extension is expected to handle the request. The event is restricted to a small number of white-listed extensions.
Events will be put on the |channel| with signature [::on-execute-mime-type-handler [stream-info]] where:
|stream-info| - ?
Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
Fired when a resource is fetched which matches a mime type handled by this extension. The resource request is cancelled, and the extension is expected to handle the request. The event is restricted to a small number of white-listed extensions. Events will be put on the |channel| with signature [::on-execute-mime-type-handler [stream-info]] where: |stream-info| - ? Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close