Raw data reader that automatically handles SANE's read code flow.
Use ScanDataReader.on to listen to events, available event types are declared on ScanDataReaderEventMap.
A device should already be open with sane_open(), the reader will call sane_start() do the scanning and call sane_stop().
Other SANE functions cannot be used while scanning.
Scan readers are single use.
https://sane-project.gitlab.io/standard/1.06/api.html#code-flow
Private
Cancel scanning operation.
Protected
Fire event.
Rest
Add event listener.
Start scanning operation.
Generated using TypeDoc
Raw data reader that automatically handles SANE's read code flow.
Use ScanDataReader.on to listen to events, available event types are declared on ScanDataReaderEventMap.
A device should already be open with sane_open(), the reader will call sane_start() do the scanning and call sane_stop().
Other SANE functions cannot be used while scanning.
Scan readers are single use.
https://sane-project.gitlab.io/standard/1.06/api.html#code-flow