Re: [sensors] Call 'onchange' on a Senor instance considering its own frequency hint

Is missing from this resolution is what I pointed out in https://github.com/w3c/sensors/issues/209#issuecomment-304221680. That is: does an update to the shared reading trigger each sensor to check if it's time for them to update their own client with a new reading, or does each sensor simply poll the shared reading at regular intervals?

In the former, what happens if no new reading arrives in the shared buffer before the time interval of a given sensor elapses. Is the firing an onchange event skipped? Is another event fired instead (e.g. missedupdate)?

In the latter, what happens when the shared reading hasn't been updated since the last time?



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

Received on Friday, 26 May 2017 09:43:40 UTC