Closed acroquelois closed 2 years ago
Link to issue-64
The stop() method of IScannerControls isn't awaitable and, in some case , the method emit DOMException due of the async method switchTorch(). And If we can't await this method isn't possible to properly catch the Exception.
stop()
IScannerControls
switchTorch()
PR isn't ready. But the idea is to make stop function awaitable
Link to issue-64
The
stop()
method ofIScannerControls
isn't awaitable and, in some case , the method emit DOMException due of the async methodswitchTorch()
. And If we can't await this method isn't possible to properly catch the Exception.