- From: Domenic Denicola via GitHub <sysbot+gh@w3.org>
- Date: Wed, 04 Nov 2015 08:56:10 +0000
- To: public-device-apis@w3.org
It is hard to say. As @ClaesNilsson points out, one of the major issues is what happens if the application does not read out the values as they are provided. Observables (and EventTarget) leave that question entirely unanswered, whereas streams attempt to answer it. I am not sure all sensors are well-suited to the answer (of buffering unread data) though. Maybe the EventTarget/observable paradigm, of "you snooze you lose (data)," makes more sense for sensors. -- GitHub Notif of comment by domenic See https://github.com/w3c/sensors/issues/70#issuecomment-153644250
Received on Wednesday, 4 November 2015 08:56:12 UTC