Liking cljdoc? Tell your friends :D

chromex.ext.idltest

clj

An API to test IDL schema specifications.

An API to test IDL schema specifications.

* available since Chrome master
* https://developer.chrome.com/extensions/idltest
raw docstring

api-tableclj

source

gen-callclj

source

gen-wrapclj/smacro

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

get-array-bufferclj/smacro

(get-array-buffer)

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 [buffer] where:

|buffer| - https://developer.chrome.com/extensions/idltest#property-cb-buffer.

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.

https://developer.chrome.com/extensions/idltest#method-getArrayBuffer.

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 [buffer] where:

  |buffer| - https://developer.chrome.com/extensions/idltest#property-cb-buffer.

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.

https://developer.chrome.com/extensions/idltest#method-getArrayBuffer.
sourceraw docstring

get-array-buffer*cljs

(get-array-buffer* config)
source

nocompile-funcclj/smacro

(nocompile-func switch)

This function should not have C++ code autogenerated (the variable name |switch| should cause compile errors if it does). But the name should get defined and made visible from within extensions/apps code.

|switch| - https://developer.chrome.com/extensions/idltest#property-nocompileFunc-switch.

https://developer.chrome.com/extensions/idltest#method-nocompileFunc.

This function should not have C++ code autogenerated (the variable name |switch| should cause compile errors if it does).
But the name should get defined and made visible from within extensions/apps code.

  |switch| - https://developer.chrome.com/extensions/idltest#property-nocompileFunc-switch.

https://developer.chrome.com/extensions/idltest#method-nocompileFunc.
sourceraw docstring

nocompile-func*cljs

(nocompile-func* config switch)
source

send-array-bufferclj/smacro

(send-array-buffer input)

Functions for testing binary data request/response parameters. The first two just return back the bytes they were passed in an array.

|input| - https://developer.chrome.com/extensions/idltest#property-sendArrayBuffer-input.

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 [array] where:

|array| - https://developer.chrome.com/extensions/idltest#property-cb-array.

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.

https://developer.chrome.com/extensions/idltest#method-sendArrayBuffer.

Functions for testing binary data request/response parameters. The first two just return back the bytes they were passed in
an array.

  |input| - https://developer.chrome.com/extensions/idltest#property-sendArrayBuffer-input.

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 [array] where:

  |array| - https://developer.chrome.com/extensions/idltest#property-cb-array.

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.

https://developer.chrome.com/extensions/idltest#method-sendArrayBuffer.
sourceraw docstring

send-array-buffer*cljs

(send-array-buffer* config input)
source

send-array-buffer-viewclj/smacro

(send-array-buffer-view input)

TODO(asargent) - we currently can't have [instanceOf=ArrayBufferView], I think because ArrayBufferView isn't an instantiable type. The best we might be able to do is have a 'choices' list including all the typed array subclasses like Uint8Array, Uint16Array, Float32Array, etc.

|input| - https://developer.chrome.com/extensions/idltest#property-sendArrayBufferView-input.

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 [array] where:

|array| - https://developer.chrome.com/extensions/idltest#property-cb-array.

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.

https://developer.chrome.com/extensions/idltest#method-sendArrayBufferView.

TODO(asargent) - we currently can't have [instanceOf=ArrayBufferView], I think because ArrayBufferView isn't an
instantiable type. The best we might be able to do is have a 'choices' list including all the typed array subclasses like
Uint8Array, Uint16Array, Float32Array, etc.

  |input| - https://developer.chrome.com/extensions/idltest#property-sendArrayBufferView-input.

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 [array] where:

  |array| - https://developer.chrome.com/extensions/idltest#property-cb-array.

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.

https://developer.chrome.com/extensions/idltest#method-sendArrayBufferView.
sourceraw docstring

send-array-buffer-view*cljs

(send-array-buffer-view* config input)
source

tap-all-eventsclj/smacro

(tap-all-events chan)

Taps all valid non-deprecated events in chromex.ext.idltest namespace.

Taps all valid non-deprecated events in chromex.ext.idltest namespace.
sourceraw docstring

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

× close