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

Unified Diff: lib/isolate/isolate_api.dart

Issue 10700101: First experimental steps towards a better story for JS interop. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments Created 8 years, 5 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 | « lib/isolate/frog/messages.dart ('k') | tests/html/html.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/isolate/isolate_api.dart
diff --git a/lib/isolate/isolate_api.dart b/lib/isolate/isolate_api.dart
index 869bf822847ad1ce0305a36aad71f0898600aa1c..3978b939d58145e61e2cc776a7ac32a1cb07777b 100644
--- a/lib/isolate/isolate_api.dart
+++ b/lib/isolate/isolate_api.dart
@@ -90,7 +90,7 @@ interface SendPort extends Hashable {
* Tests whether [other] is a [SendPort] pointing to the same
* [ReceivePort] as this one.
*/
- bool operator==(var other);
+ bool operator==(var other);
/**
* Returns an immutable hash code for this send port that is
@@ -140,6 +140,13 @@ interface ReceivePort default _ReceivePortFactory {
}
+// TODO(kasperl): Make this hashable and document it.
+interface SendPortSync {
+
+ callSync(var message);
+
+}
+
/**
* NOTE: This API will be deprecated soon.
*
« no previous file with comments | « lib/isolate/frog/messages.dart ('k') | tests/html/html.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698