Chromium Code Reviews
DescriptionFix bugs in StreamController.addStream.
Add optional 'cancelOnError' to addStream method. It still defaults
to true.
Resume the added stream when adding a listener (14332).
Handle cancel-on-error correctly, so the future completes as well (14334).
BUG= http://dartbug.com/14332 http://dartbug.com/14334
R=ajohnsen@google.com
Committed: https://code.google.com/p/dart/source/detail?r=29419
Patch Set 1 #
Total comments: 7
Patch Set 2 : Don't use T in static method. #Patch Set 3 : Remove StreamControllerSink. The optional cancelOnError on addStream is only in controller. #
Total comments: 1
Patch Set 4 : Addressed comments. Added test. Fixed typos. #
Messages
Total messages: 5 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||