Re: [sensors] Adding a sensor.activated attribute

Thanks Marcos, this comment was important, and I think that is valid 
in many specifications today. I wonder what would be a short checklist
 for making sure an API works nicely with async/await? 
I think the worst thing that usually happens in specs close to the HW 
is when an algorithm uses a timer, which on expiration rejects a 
promise, and before expiration it may resolve or reject - but I assume
 that should be fine with async/await. Or is there a specific 
recommended pattern to handle this?

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

Received on Monday, 21 March 2016 20:29:35 UTC