Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(513)

Unified Diff: corelib/src/future.dart

Issue 10540036: add a note about completer to future (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: corelib/src/future.dart
diff --git a/corelib/src/future.dart b/corelib/src/future.dart
index 36f9378fe1bf3b45fed628d523f961121c16fd95..c1d3b39f9867f5c72f4f0704df150dcfe15173ba 100644
--- a/corelib/src/future.dart
+++ b/corelib/src/future.dart
@@ -28,6 +28,8 @@
* 4. if the future failed, and at least one handler was registered with
* [then], and no handler registered with [handleException] returned
* [:true:], then the exception is thrown.
+ *
+ * Use a [Completer] to simplify working with futures.
Siggi Cherem (dart-lang) 2012/06/06 22:28:44 rather than simplify, I'd say to actually create t
*/
interface Future<T> default FutureImpl<T> {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698