DescriptionAdds a callback to Future that is invoked upon completion, whether success or failure.
I'm not totally happy with the method name (in an ideal world, I'd like to call this
method then(), and have onSuccess and onFailure). But this should be backwards-compatible.
Committed: https://code.google.com/p/dart/source/detail?r=8303
Patch Set 1 #
Total comments: 15
Patch Set 2 : #Patch Set 3 : #
Total comments: 3
Messages
Total messages: 9 (0 generated)
|