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:
parent
b90c1502e5
commit
f624be4093
@ -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'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user