feat: Allow focus calls to be cancelable (#2567)

* feat: Allow focus calls to be cancelable

* Cancelable
This commit is contained in:
Marc Rousavy
2024-02-15 17:33:19 +01:00
committed by GitHub
parent bcd12649e2
commit 4168d8f752
4 changed files with 33 additions and 13 deletions

View File

@@ -43,6 +43,7 @@ export type CaptureError =
| 'capture/photo-not-enabled'
| 'capture/frame-invalid'
| 'capture/aborted'
| 'capture/focus-canceled'
| 'capture/timed-out'
| 'capture/unknown'
export type SystemError =