Re: [wake-lock] Add back AbortSignal in addition to abort() and fix the counter (#183)

@domenic @marcoscaceres 

If you import a library that holds wake locks, you will not be able to cancel them because you don't have a signal attached and cannot attach them after the fact. `abort()` solves that case.

We could of course expose something like an `attribute signal;` but I am not sure that is a nice solution

-- 
GitHub Notification of comment by kenchris
Please view or discuss this issue at https://github.com/w3c/wake-lock/pull/183#issuecomment-487522218 using your GitHub account

Received on Monday, 29 April 2019 09:57:11 UTC