Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
doc: stream: clarify meaning of 'drain' event
Browse files Browse the repository at this point in the history
  • Loading branch information
bnoordhuis committed Oct 1, 2012
1 parent 3b7312d commit 7c64424
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/stream.markdown
Expand Up @@ -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'

Expand Down

0 comments on commit 7c64424

Please sign in to comment.