Chromium Code Reviews
DescriptionUpdate documentation for "close" and fix subscription returned by closed broadcast streams.
The close method on StreamConsumer, StreamSink and StreamController do not explain
the returned future or say when it is completed.
Listening on a closed broadcast stream should not throw, but just give a subscription that sends a done asap.
BUG= http://dartbug.com/19095
R=ajohnsen@google.com
Committed: https://code.google.com/p/dart/source/detail?r=36862
Patch Set 1 #
Total comments: 1
Patch Set 2 : Add tests. Don't throw if listening on broadcast stream after close. #
Total comments: 6
Patch Set 3 : Fix dummy subscription returned on closed broadcast stream. #Patch Set 4 : Remove spurious future #
Total comments: 6
Patch Set 5 : Reword done/close comments. #
Total comments: 3
Patch Set 6 : Reworded again. #
Messages
Total messages: 7 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||