W3C home > Mailing lists > Public > public-device-apis-log@w3.org > April 2019

Re: [wake-lock] Canceling using AbortSignal is a bit weird (#171)

From: Thomas Steiner via GitHub <sysbot+gh@w3.org>
Date: Tue, 02 Apr 2019 06:58:56 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-478869790-1554188335-sysbot+gh@w3.org>
> A static WakeLock.getAll() method will return all active WakeLock instances.

+1, this (Option 4) seems like the most flexible option. I wish something similar would exist for event listeners, where there is likewise no option to get a list of all registered event listeners. 

-- 
GitHub Notification of comment by tomayac
Please view or discuss this issue at https://github.com/w3c/wake-lock/issues/171#issuecomment-478869790 using your GitHub account
Received on Tuesday, 2 April 2019 06:58:58 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 2 April 2019 06:58:59 UTC