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

Re: [sensors] Should update sensor reading task be in sync with latest reading?

From: Tobie Langel via GitHub <sysbot+gh@w3.org>
Date: Sat, 27 May 2017 11:37:53 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-304446698-1495885072-sysbot+gh@w3.org>
> Should 'update sensor reading task' use reading at the time of task creation or 'latest reading' when task is executed? (in Chromium we do latter, might reduce latency due to queue processing delay)

The former. The whole point of this exercise is to avoid the later case which might create concurrency issues.

What's the extra latency like from the queued stuff? Totally application-level code dependent?

GitHub Notification of comment by tobie
Please view or discuss this issue at https://github.com/w3c/sensors/issues/220#issuecomment-304446698 using your GitHub account
Received on Saturday, 27 May 2017 11:37:59 UTC

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