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

> You can't resolve a promise from in parallel. You need to queue a task to do so.

Hmm, I wonder if the examples in https://heycam.github.io/webidl/#es-promise-examples needs to be adjusted then?

Anyway, thanks for the help so far, @annevk and @domenic. I'll see what I can come up with tomorrow.

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


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

Received on Tuesday, 2 February 2021 17:25:19 UTC