[sensors] Adding a sensor.activated attribute

tobie has just created a new issue for https://github.com/w3c/sensors:

== Adding a sensor.activated attribute ==
As we're holding on to the promise that's returned when calling 
`start()`. It would be nice to expose it in a dedicated attribute 
(maybe `active` or `activated`) so one could do:

```js
let s = new FooSensor();
s.activated.then( /* do stuff... */);
// later on:
s.start();
```

Please view or discuss this issue at 
https://github.com/w3c/sensors/issues/95 using your GitHub account

Received on Sunday, 20 March 2016 10:49:24 UTC