This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

doc: stream: clarify meaning of 'drain' event

  • Loading branch information...
1 parent b90c150 commit f624be40938a9e72a747a7397a8e11d837760138 @bnoordhuis bnoordhuis committed Oct 1, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 doc/api/stream.markdown
View
@@ -120,8 +120,8 @@ A `Writable Stream` has the following methods, members, and events.
`function () { }`
-After a `write()` method returned `false`, this event is emitted to
-indicate that it is safe to write again.
+Emitted when the stream's write queue empties and it's safe to write without
+buffering again. Listen for it when `stream.write()` returns `false`.
### Event: 'error'

0 comments on commit f624be4

Please sign in to comment.