From 7d2436e3090ca56e37d7173a98b320d608835fd2 Mon Sep 17 00:00:00 2001 From: Luigi Pinca Date: Wed, 27 Nov 2024 11:26:27 +0100 Subject: [PATCH] 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 Reviewed-By: Antoine du Hamel Reviewed-By: Jason Zhang Reviewed-By: LiviaMedeiros Reviewed-By: Jake Yuesong Li --- doc/api/stream.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/doc/api/stream.md b/doc/api/stream.md index f890f4fd529b01..6f5fdd05a15d82 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -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)`