Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

doc: stream: clarify meaning of 'drain' event

  • Loading branch information...
commit f624be40938a9e72a747a7397a8e11d837760138 1 parent b90c150
@bnoordhuis bnoordhuis authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 doc/api/stream.markdown
4 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'
Please sign in to comment.
Something went wrong with that request. Please try again.