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

Re: [sensors] Batching API for sensor readings

From: Mikhail Pozdnyakov via GitHub <sysbot+gh@w3.org>
Date: Mon, 08 May 2017 10:27:15 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-299830890-1494239234-sysbot+gh@w3.org>
(3) should fit for https://github.com/w3c/sensors/issues/98, right? we could combine (2) and (3) if needed, but then again there should be two separate pieces of API for each, i.e. coalesced events for (3) and smth like `sensor.latestReadings` for (2)

> Additionally, creating this API at a later stage does not absolve us from the necessity of designing our API today so that it is compatible with that future design and stays developer friendly.

> For example, if such an API is buffer-based, we'll need a way to express timestamps within buffers. Maybe this is something worth considering upfront.

Absolutely agree! I did not mean we should postpone working on it.

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

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