DescriptionAdd cleanUp function to Future.wait.
The cleanUp function is called on the values of successful futures,
so it can release any resources that were successfully allocated.
R=sgjesse@google.com
Committed: https://code.google.com/p/dart/source/detail?r=42730
Patch Set 1 #
Total comments: 2
Patch Set 2 : Tests. Make cleanUp errors uncaught, not swallowed. #Patch Set 3 : More test #
Total comments: 8
Patch Set 4 : Address comments. #
Messages
Total messages: 8 (2 generated)
|