Liking cljdoc? Tell your friends :D

chromex.ext.streams-private

clj

Streams Private API.

  • available since Chrome 27
Streams Private API.

* available since Chrome 27
raw docstring

abortclj/smacro

(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.
sourceraw docstring

abort*cljs

(abort* config stream-url)
source

api-tableclj

source

gen-callclj

source

gen-wrapclj/smacro

(gen-wrap kind item-id config & args)
source

on-execute-mime-type-handler*cljs

(on-execute-mime-type-handler* config channel & args)
source

tap-all-eventsclj/smacro

(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.
sourceraw docstring

tap-on-execute-mime-type-handler-eventsclj/smacro

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close