> I was suggesting that such a solution also requires an async API, to avoid the lock blocking the main thread. I don't think it does. Any API can trigger [in parallel](https://html.spec.whatwg.org/multipage/infrastructure.html#in-parallel) work. Returning a promise is only valuable if the caller needs the result. If we "avoid blocking" then it says to use sync (if the "[API ... will not be blocked by ... a lock.](https://www.w3.org/TR/design-principles/#synchronous)") -- GitHub Notification of comment by jan-ivar Please view or discuss this issue at https://github.com/w3c/mediacapture-region/issues/17#issuecomment-1168996295 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-configReceived on Tuesday, 28 June 2022 17:05:36 UTC
This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:57 UTC