Re: [sensors] Adding a sensor.activated attribute

... or, in a async function ... 
```JS
async function someSensorTask() {
  var s = new FooSensor()
  s.start();
  await s.activated;
  return await sensor.read();  
}
```

-- 
GitHub Notification of comment by marcoscaceres
Please view or discuss this issue at 
https://github.com/w3c/sensors/issues/95#issuecomment-199156749 using 
your GitHub account

Received on Monday, 21 March 2016 07:32:18 UTC