Skip to content

Commit 17f39bc

Browse files
authored
doc: remove confusing and outdated sentence
Remove confusing and outdated sentence in `doc/api/stream.md`. Fixes: #55987 PR-URL: #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>
1 parent 9029aec commit 17f39bc

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

doc/api/stream.md

-2
Original file line numberDiff line numberDiff line change
@@ -3846,8 +3846,6 @@ added: v8.0.0
38463846

38473847
The `_destroy()` method is called by [`writable.destroy()`][writable-destroy].
38483848
It can be overridden by child classes but it **must not** be called directly.
3849-
Furthermore, the `callback` should not be mixed with async/await
3850-
once it is executed when a promise is resolved.
38513849

38523850
#### `writable._final(callback)`
38533851

0 commit comments

Comments
 (0)