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

Okay, but we are on the same page that if it goes in parallel, you cannot call "release a wake lock" synchronously from those in parallel steps? And I now see that release a wake lock itself says at the top it goes in parallel too... And then again in step 5?

I think someone needs to have another look at all this and decide where in parallel is important and where it's noise. And keep in mind that when you are in parallel you cannot access things such as documents or global objects and need to queue a task to get back to the main thread.

-- 
GitHub Notification of comment by annevk
Please view or discuss this issue at https://github.com/w3c/screen-wake-lock/issues/293#issuecomment-770984604 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:32:08 UTC