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

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

From: Marcos Cáceres via GitHub <sysbot+gh@w3.org>
Date: Thu, 08 Aug 2019 15:01:24 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-519556754-1565276482-sysbot+gh@w3.org>
> Can this be converted in a resolving promise when the lock is acquired successfully?

Yes. The result of acquiring the lock would be the key. 

-- 
GitHub Notification of comment by marcoscaceres
Please view or discuss this issue at https://github.com/w3c/wake-lock/issues/226#issuecomment-519556754 using your GitHub account
Received on Thursday, 8 August 2019 15:01:25 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 8 August 2019 15:01:26 UTC