DescriptionAdd StreamController.multiplex constructor.
The "multiplex" stream controller will generate a new stream every
time .stream is read on the controller, and it will send events to
any stream that currently has a listener.
The streams handle their own buffering. Events added before the listen
are ignored.
R=floitsch@google.com
Committed: https://code.google.com/p/dart/source/detail?r=23217
Patch Set 1 #Patch Set 2 : Add more test. #
Total comments: 4
Patch Set 3 : More methods on interface. Use multiplexer. #
Total comments: 3
Patch Set 4 : Merge on top of active streams #Patch Set 5 : Remove unused code #
Messages
Total messages: 6 (0 generated)
|