Skip to content

Latest commit

 

History

History
33 lines (16 loc) · 579 Bytes

monitorPrinter.md

File metadata and controls

33 lines (16 loc) · 579 Bytes

static Printer.monitorPrinter

Starts monitoring the printer status.

Parameters

printerInstance

  • Printer

Printer instance defined by calling new Printer(...).

listener

Listener function that will be called with printer status.

interval (optional)

  • number

Interval in milliseconds. Default: 1000.

Returns

() => void

Supplementary explanation