0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00

doc: stream: clarify meaning of 'drain' event

This commit is contained in:
Ben Noordhuis 2012-10-01 22:27:19 +02:00
parent b90c1502e5
commit f624be4093

View File

@ -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'