W3C home > Mailing lists > Public > public-device-apis-log@w3.org > May 2017

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

From: Tobie Langel via GitHub <sysbot+gh@w3.org>
Date: Fri, 26 May 2017 12:11:14 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-304267600-1495800673-sysbot+gh@w3.org>
> on scheduled update Sensor should do both 1) update its reading from shared reading and 2) fire onchange event

OK. So is the only point of the cache to make sure that `sensor.x` doesn't change if queried in between when events are fired?

GitHub Notification of comment by tobie
Please view or discuss this issue at https://github.com/w3c/sensors/issues/152#issuecomment-304267600 using your GitHub account
Received on Friday, 26 May 2017 12:11:21 UTC

This archive was generated by hypermail 2.4.0 : Monday, 4 July 2022 12:47:54 UTC