Browse files

doc: stream: clarify meaning of 'drain' event

  • Loading branch information...
1 parent 3b7312d commit 7c64424b5c9bd8e9e20b2275782ca657ed0d079d @bnoordhuis committed Oct 1, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 doc/api/stream.markdown
@@ -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 7c64424

Please sign in to comment.