Uh oh!
There was an error while loading. Please reload this page.
doc: error modes of writable - #29745
Conversation
6c6beba to
b2c4f5aCompare5e422d0 to
b030cf2CompareUh oh!
There was an error while loading. Please reload this page.
b030cf2 to
212a54eCompareUh oh!
There was an error while loading. Please reload this page.
212a54e to
b693344CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-Authored-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Trott
commented
Oct 1, 2019
Uh oh!
There was an error while loading. Please reload this page.
Co-Authored-By: Rich Trott <rtrott@gmail.com>
ronag
commented
Nov 24, 2019
Could this get another review from nodejs/streams? |
Trott
commented
Nov 24, 2019
@nodejs/streams |
| // Writing more now is not allowed! | ||
| ``` | ||
| [`stream.end()`][stream-end] will error with (in order of precedence): |
There was a problem hiding this comment.
Can you clarify if it will throw or emit an error?
| A `Writable` stream in object mode will always ignore the `encoding` argument. | ||
| `stream.write()` will error with (in order of precedence): |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-Authored-By: Yorkie Liu <yorkiefixer@gmail.com>
| A `Writable` stream in object mode will always ignore the `encoding` argument. | ||
| `stream.write()` will call it's callback and emit `'error'` |
There was a problem hiding this comment.
| `stream.write()` will call it's callback and emit `'error'` | |
| `stream.write()` will call its callback and emit `'error'` |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-Authored-By: Denys Otrishko <9109612+lundibundi@users.noreply.github.com>
yorkie
commented
Nov 24, 2019
This PR seems to document how does the |
ronag
commented
Nov 24, 2019
Sorry, I don't understand. Do you think you could try to rephrase? |
yorkie
commented
Nov 24, 2019
Never mind, I'm not proposing any changes on this PR. FYI, I was considering that it's easy to forget to update here when someone changed the algorithm of write/end in our streams. |
ronag
commented
Dec 1, 2019
@yorkie@lundibundi Can this PR get your approvals and maybe land? |
Uh oh!
There was an error while loading. Please reload this page.
lundibundi
commented
Dec 1, 2019
ping @mcollina |
Co-Authored-By: Denys Otrishko <9109612+lundibundi@users.noreply.github.com>
lundibundi
commented
Dec 1, 2019
ronag
commented
Dec 29, 2019
Currently blocked by whatever happens with #29197 which affects some details of this. |
BridgeAR
commented
Jan 12, 2020
This needs a rebase. |
ronag
commented
Feb 14, 2020
The error modes of streams is still a fluid situation so I think it's better re-open this at a future stage. |
Documents the error modes of
WritableChecklist