Re: [wake-lock] WakeLock.request() returns a promise that never resolves (#226)

Although I am significantly disappointed about the movement away from the unified cancelation primitive of AbortSignal, I strongly urge the working group to _avoid_ numeric IDs for cancelation. setTimeout's use of those is a very bad pattern from the old days of the web, and not to be emulated. Objects should be preferred to numbers.

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

Received on Saturday, 21 September 2019 08:26:02 UTC