doc: remove confusing and outdated sentence
Remove confusing and outdated sentence in `doc/api/stream.md`. Fixes: https://github.com/nodejs/node/issues/55987 PR-URL: https://github.com/nodejs/node/pull/55988 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Jason Zhang <xzha4350@gmail.com> Reviewed-By: LiviaMedeiros <livia@cirno.name> Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com>
This commit is contained in:
parent
9029aec834
commit
17f39bcf3c
@ -3846,8 +3846,6 @@ added: v8.0.0
|
||||
|
||||
The `_destroy()` method is called by [`writable.destroy()`][writable-destroy].
|
||||
It can be overridden by child classes but it **must not** be called directly.
|
||||
Furthermore, the `callback` should not be mixed with async/await
|
||||
once it is executed when a promise is resolved.
|
||||
|
||||
#### `writable._final(callback)`
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user