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

Unified Diff: runtime/bin/socket.dart

Issue 10703096: [IO] Improve documentation for dart:io Socket.onWrite. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/socket.dart
diff --git a/runtime/bin/socket.dart b/runtime/bin/socket.dart
index 6c1b49de72023eb589f700e411cf0b33e570d452..b314df49a2cd0cf34b49d55a5ca7318ac4c927cd 100644
--- a/runtime/bin/socket.dart
+++ b/runtime/bin/socket.dart
@@ -74,8 +74,10 @@ interface Socket extends Hashable default _Socket {
void set onData(void callback());
/**
- * The write handler gets called when the socket becomes available for
- * writing.
+ * The write handler gets called once when the socket becomes available for
+ * writing. Then the handler is reset to null. This handler is used when
Søren Gjesse 2012/07/06 04:02:11 is reset -> is automatically reset
Bill Hesse 2012/07/06 08:41:25 Done.
+ * writeList has reported an incomplete write, to schedule writing the
+ * remaining data to the socket.
*/
void set onWrite(void callback());
« 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