Chromium Code Reviews| Index: sdk/lib/async/future.dart |
| diff --git a/sdk/lib/async/future.dart b/sdk/lib/async/future.dart |
| index 820ba0087d17181fbc5b5d92e6bfdad8b51a4906..e058a9dcbfe0b648e8fd37ae2808653d007ce5b8 100644 |
| --- a/sdk/lib/async/future.dart |
| +++ b/sdk/lib/async/future.dart |
| @@ -362,4 +362,9 @@ abstract class Completer<T> { |
| * [AsyncError] and sent to this future's listeners. |
| */ |
| void completeError(Object exception, [Object stackTrace]); |
| + |
| + /** |
| + * Whether the future has been completed. |
| + */ |
| + bool get completed; |
|
floitsch
2013/02/26 13:57:32
has/isCompleted
|
| } |