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

Unified Diff: corelib/src/promise.dart

Issue 8403040: Don't wait unnecessarily. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years, 1 month 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
Index: corelib/src/promise.dart
===================================================================
--- corelib/src/promise.dart (revision 1134)
+++ corelib/src/promise.dart (working copy)
@@ -80,7 +80,7 @@
* [joinDone]. When [joinDone] returns true, this instance is marked as
* complete with the last value that was computed.
*/
- void join(Collection<Promise<T>> arr, bool joinDone(Promise<T> completed));
+ void join(Collection<Promise> arr, bool joinDone(Promise completed));
/**
* Mark this promise as complete when [n] promises in [arr] complete, then
@@ -90,7 +90,7 @@
}
-interface Proxy factory ProxyImpl {
+interface Proxy extends Promise<bool> factory ProxyImpl {
Proxy.forPort(SendPort port);
Proxy.forIsolate(Isolate isolate);
@@ -102,6 +102,7 @@
Proxy.forReply(Promise<SendPort> port);
void send(List message);
+ Promise call(List message);
}
« no previous file with comments | « corelib/src/implementation/promise_implementation.dart ('k') | tests/stub-generator/src/MintMakerFullyIsolatedTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698