Unverified Commit 6ade42bb authored by Pranshu Srivastava's avatar Pranshu Srivastava Committed by Anna Henningsen
Browse files

doc: stream.end(cb) cb can be invoked with error

Update docs that the optional callback passed to
`writable.end` can be invoked in case of an error as well.

PR-URL: https://github.com/nodejs/node/pull/32238
Fixes: https://github.com/nodejs/node/issues/31220


Reviewed-By: default avatarLuigi Pinca <luigipinca@gmail.com>
Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
parent c37d4cce
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment