From 717531da777c402c66be36874297aa138721d8fd 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 02049a262b7282..c8f1e2b528c7dc 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -3836,8 +3836,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)`