RE: StreamBuilder threshold

Can you please clarify what scenario you are looking at regarding multiple consumers?
When designing the StreamBuilder API, we looked at it as a more primitive API which other abstractions (such as multiple consumers) can be built upon. 

If you can please let me know what issue you're trying to address, I'm happy to discuss the possibilities.

Also, For future reference, the latest draft is now located on the W3 site at http://dvcs.w3.org/hg/streams-api/raw-file/tip/Overview.htm

Thanks,
Feras

> -----Original Message-----
> From: Stefan Hakansson LK [mailto:stefan.lk.hakansson@ericsson.com]
> Sent: Tuesday, January 17, 2012 12:28 AM
> To: Feras Moussa; Travis Leithead
> Cc: public-webapps@w3.org
> Subject: StreamBuilder threshold
> 
> I'm looking at http://html5labs.interoperabilitybridges.com/streamsapi/,
> and specifically at the StreamBuilder.
> 
> It has the possibility to generate an event if the data available falls below a
> threshold. How is this supposed to work if there is more than one consumer,
> and those consumers either don't start consuming at exactly the same time
> or consume at different rates, of the Stream?
> 
> --Stefan

Received on Thursday, 26 January 2012 18:06:08 UTC