projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98be8df
)
doc: document 'error' event for stream.Writable
author
Fedor Indutny
<fedor.indutny@gmail.com>
Fri, 6 Dec 2013 15:36:43 +0000
(19:36 +0400)
committer
Timothy J Fontaine
<tjfontaine@gmail.com>
Fri, 6 Dec 2013 18:26:49 +0000
(10:26 -0800)
fix #5255
doc/api/stream.markdown
patch
|
blob
|
history
diff --git
a/doc/api/stream.markdown
b/doc/api/stream.markdown
index
d750dbf
..
5ea3e3d
100644
(file)
--- a/
doc/api/stream.markdown
+++ b/
doc/api/stream.markdown
@@
-577,6
+577,10
@@
reader.pipe(writer);
reader.unpipe(writer);
```
+#### Event: 'error'
+
+Emitted if there was an error when writing or piping data.
+
### Class: stream.Duplex
Duplex streams are streams that implement both the [Readable][] and