doc: document stream.Writable 'error' event

Fixes #5255.
This commit is contained in:
Robert Kowalski
2013-05-06 21:53:35 +02:00
committed by Ben Noordhuis
parent 3b6fc600e2
commit dc92ff8585

View File

@@ -529,6 +529,10 @@ 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'
Emitted if there was an error receiving data.
### Event: 'close'
Emitted when the underlying resource (for example, the backing file