[sensors] Possibility to use "Readable Stream" as defined by the Streams API

ClaesNilsson has just created a new issue for 
https://github.com/w3c/sensors:

== Possibility to use "Readable Stream" as defined by the Streams API 
==
For sensors continuously delivering a flow of values, for example, 
device accelerometer data or ECG, it may be beneficial to have the 
option to create a “Readable Stream” as defined by the Streams API, 
https://streams.spec.whatwg.org/. This API solves general streams 
issues such as reading from streams and handling issues like read 
buffers getting full. APIs based on the Streams API define an 
adaptation layer towards Streams that defines how the Stream should be
 handled for this specific protocol. For example, what should be done 
if the application using the sensor API does not read out the values 
fast enough and the read buffer of the API is full. 

See https://github.com/w3c/sensors/issues/70

Received on Wednesday, 28 October 2015 09:06:25 UTC