UNPKG

react-epson-epos-sdk

Version:

React library for managing Epson printers with ePOS SDK support.

13 lines (12 loc) 587 B
/** * Heartbeat cadence while the printer last reported as CONNECTED. Long cadence * keeps network chatter low when everything is healthy. */ export declare const PRINTER_HEARTBEAT_CONNECTED_INTERVAL_MS = 60000; /** * Heartbeat cadence while the printer is not CONNECTED (DISCONNECTED, ERROR, or * initial state). Short cadence ensures fast detection of recovery. */ export declare const PRINTER_HEARTBEAT_DISCONNECTED_INTERVAL_MS = 5000; /** Max failed jobs kept per printer id while offline. Oldest entries are dropped. */ export declare const MAX_QUEUED_JOBS_PER_PRINTER = 100;