W3C home > Mailing lists > Public > public-device-apis@w3.org > March 2016

[sensors] start() to return a cancellable promise that resolves on first reading

From: Tobie Langel via GitHub <sysbot+gh@w3.org>
Date: Sun, 20 Mar 2016 09:19:20 +0000
To: public-device-apis@w3.org
Message-ID: <issues.opened-142143822-1458465558-sysbot+gh@w3.org>
tobie has just created a new issue for https://github.com/w3c/sensors:

== start() to return a cancellable promise that resolves on first 
reading ==
The `start()` method needs to return a promise that resolves on first 
reading. It's unclear right now whether `stop()` also needs to return 
a promise or can be sync (I feel it's the latter).

Depends on 
https://github.com/promises-aplus/cancellation-spec/issues/6.

Please view or discuss this issue at 
https://github.com/w3c/sensors/issues/94 using your GitHub account
Received on Sunday, 20 March 2016 09:19:22 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:33:30 UTC