stream: copyedit `webstreams/adapter.js` · nodejs/node@7792f1a · GitHub
Skip to content

Commit 7792f1a

Browse files
committed
stream: copyedit webstreams/adapter.js
- Simplify `ZLIB_FAILURES` creation. - Cache `cause.code` in `handleKnownInternalErrors` in case of a getter. - Replace `SafePromiseAll` with `SafePromiseAllReturnVoid` to reduce the number of allocated promises. Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com> PR-URL: #63034 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 717476a commit 7792f1a

1 file changed

Lines changed: 22 additions & 27 deletions

File tree

‎lib/internal/webstreams/adapters.js‎

Lines changed: 22 additions & 27 deletions

0 commit comments

Comments
 (0)