Re: [screen-wake-lock] "Release a wake lock": should we queue a task to fire the "release" event? (#293)

OK. My understanding of that particular method is that that part runs in parallel to avoid potentially blocking on calling the OS (and dispatching the event in case we do change the algorithm). If that part didn't run in parallel, I don't think there'd be much point in returning a promise in the first place.

-- 
GitHub Notification of comment by rakuco
Please view or discuss this issue at https://github.com/w3c/screen-wake-lock/issues/293#issuecomment-770979420 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 1 February 2021 16:24:17 UTC