Chromium Code Reviews
DescriptionChange Stream callbacks.
During a stat-change callback, events can't be fired. Any events added will be delayed.
When both the subscription state and the pause state has changed in a single operation, only the subscription state change callback is called.
After calling _close on a Stream (close on a StreamController/scheduling a Done event), the pause-state change callback will no longer be called. All necessary pause handling will be done internally in the Stream, since the stream controller can't add any new events anyway.
Committed: https://code.google.com/p/dart/source/detail?r=18748
Patch Set 1 #Patch Set 2 : More changes to Stream. #
Total comments: 3
Messages
Total messages: 3 (0 generated)
|
||||||||||||||||||||||||||||