Re: [sensors] Add solution for one-shot readings

* If you expose "once" as static, passing around instances is less 
useful. E.g., you might want all your code to use a particular sensor 
with some settings (accuracy: "high"). If you have to pass that 
separately in the constructor and the "once" static, reuse is a little
 harder.
* I think it does matter when you invoke `pause()`. The sensor is 
likely instantiated "in parallel" (see HTML Standard) so any 
long-lasting bit of script between instantiation and `pause()` could 
cause it to start doing things.

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

Received on Monday, 7 March 2016 15:40:18 UTC