Chromium Code Reviews
DescriptionChange and documentat how completer handles futures.
Completer.complete changes signature to accept 'var' and chain if the
argument is a future.
Completer.completeError throws if error is a future or null.
Documentation updated to match.
Fix error in implementation of completeError which dropped listeners when
chained. If the chained-to future is not a _Future, the listeners cannot
be forwarded.
BUG= http://dartbug.com/14211 http://dartbug.com/14212 http://dartbug.com/14435
R=floitsch@google.com
Committed: https://code.google.com/p/dart/source/detail?r=29518
Patch Set 1 #Patch Set 2 : Change signature everywhere. #
Total comments: 9
Messages
Total messages: 6 (0 generated)
|
|||||||||||||||||||||||||||||||||||||