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

Re: [sensors] Batching API for sensor readings

From: Tobie Langel via GitHub <sysbot+gh@w3.org>
Date: Mon, 08 May 2017 10:41:26 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-299833606-1494240085-sysbot+gh@w3.org>
Yes, (3) is for the #98 use case. Given those are essentially going to be sent over the network for further analysis, it might be worth aiming for something as fetch/stream-compatible as possible (Which afaik typedarrays are pretty good for too). We'll probably want reporting frequency to be very different from polling frequency in such cases, so maybe a completely different API for this?

For (2), on the other, we want something closer to (1) in API terms, so you can really easily move from dealing with a single data point to multiple ones.

GitHub Notification of comment by tobie
Please view or discuss this issue at https://github.com/w3c/sensors/issues/171#issuecomment-299833606 using your GitHub account
Received on Monday, 8 May 2017 10:41:33 UTC

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