DescriptionLet StreamSubscription.cancel return a Future.
This gives the ability mark a subscription cancel as asynchrouns. Thiw
now means that StreamController's onCancel takes either a value (null in
most cases) and a Future, just like 'new Future(() => value)'.
BUG=
R=floitsch@google.com, lrn@google.com
Committed: https://code.google.com/p/dart/source/detail?r=28925
Patch Set 1 #Patch Set 2 : Rebase #
Total comments: 16
Patch Set 3 : Clean up patch. #Patch Set 4 : Remove dir stuff. #
Total comments: 60
Patch Set 5 : Review changes. #Patch Set 6 : Fix type. #
Total comments: 14
Patch Set 7 : Clean up comments and delay done future. #Patch Set 8 : Mark failing tests. #
Messages
Total messages: 12 (0 generated)
|