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

I'm afraid you will have to think about all those things, but I'm happy to help.

> More generally speaking, if there are two subsequent parallel steps, one to queue a task to fire an event and another to resolve a promise, will the promise always be resolved after the event is fired?

What you need to do for cases like this is queue a task to fire the event *and* resolve the promise (a task can itself be a series of steps). I'm not sure if we decided on order there. I guess I'd resolve first...

GitHub Notification of comment by annevk
Please view or discuss this issue at using your GitHub account

Sent via github-notify-ml as configured in

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