DescriptionAdd setters for callbacks on StreamController.
This allows you to create a stream controller at one point and
add or change the callbacks later. This can be useful if you
want to store a stream controller in a final instance field and
also want the controller to call instance methods as callbacks.
R=floitsch@google.com
Committed: https://github.com/dart-lang/sdk/commit/4a8a844c345f8dff736f0b31f5371fd4571e1afa
Patch Set 1 #
Total comments: 2
Patch Set 2 : Address comments. #
Total comments: 14
Messages
Total messages: 12 (2 generated)
|