Liking cljdoc? Tell your friends :D

chromex.ext.printing-metrics

clj

Use the chrome.printingMetrics API to fetch data about printing usage.

Use the chrome.printingMetrics API to fetch data about
printing usage.

  * available since Chrome 79
  * https://developer.chrome.com/extensions/printingMetrics
raw docstring

api-tableclj

source

gen-callclj

source

gen-wrapclj/smacro

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

get-print-jobsclj/smacro

(get-print-jobs)

Returns the list of the finished print jobs.

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

|jobs| - https://developer.chrome.com/extensions/printingMetrics#property-callback-jobs.

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/printingMetrics#method-getPrintJobs.

Returns the list of the finished print jobs.

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

  |jobs| - https://developer.chrome.com/extensions/printingMetrics#property-callback-jobs.

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/printingMetrics#method-getPrintJobs.
sourceraw docstring

get-print-jobs*cljs

(get-print-jobs* config)
source

on-print-job-finished*cljs

(on-print-job-finished* config channel & args)
source

tap-all-eventsclj/smacro

(tap-all-events chan)

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

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

tap-on-print-job-finished-eventsclj/smacro

(tap-on-print-job-finished-events channel & args)

Event fired when the print job is finished. This includes any of termination statuses: FAILED, CANCELED and PRINTED.

Events will be put on the |channel| with signature [::on-print-job-finished [job-info]] where:

|job-info| - https://developer.chrome.com/extensions/printingMetrics#property-onPrintJobFinished-jobInfo.

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.

https://developer.chrome.com/extensions/printingMetrics#event-onPrintJobFinished.

Event fired when the print job is finished. This includes any of termination statuses: FAILED, CANCELED and PRINTED.

Events will be put on the |channel| with signature [::on-print-job-finished [job-info]] where:

  |job-info| - https://developer.chrome.com/extensions/printingMetrics#property-onPrintJobFinished-jobInfo.

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.

https://developer.chrome.com/extensions/printingMetrics#event-onPrintJobFinished.
sourceraw docstring

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

× close