Closed tobie closed 8 years ago
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).
start()
stop()
Depends on https://github.com/promises-aplus/cancellation-spec/issues/6.
In https://github.com/w3c/sensors/issues/104#issuecomment-248316955 we decided to drop promises.
The
start()
method needs to return a promise that resolves on first reading. It's unclear right now whetherstop()
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.