Chromium Code Reviews| Index: pkg/barback/lib/src/utils.dart |
| diff --git a/pkg/barback/lib/src/utils.dart b/pkg/barback/lib/src/utils.dart |
| index 22203b4c89dc52a9580f600e9cb636cbc46a98f0..53ef822079eeb3e385393454d46c9281ffb96183 100644 |
| --- a/pkg/barback/lib/src/utils.dart |
| +++ b/pkg/barback/lib/src/utils.dart |
| @@ -175,8 +175,9 @@ Future pumpEventQueue([int times=20]) { |
| return new Future.delayed(Duration.ZERO, () => pumpEventQueue(times - 1)); |
| } |
| -/// Like [new Future], but avoids issue 11911 by using [new Future.value] under |
| +/// Like `new Future`, but avoids issue 11911 by using `new Future.value` under |
| /// the covers. |
| +// TODO(jmesserly): doc comment changed to due 14601. |
|
Jennifer Messerly
2013/10/30 00:59:29
https://code.google.com/p/dart/issues/detail?id=14
|
| Future newFuture(callback()) => new Future.value().then((_) => callback()); |
| /// Returns a buffered stream that will emit the same values as the stream |