Skip to content

Commit fc37b80

Browse files
jakecastellijazelly
authored andcommitted
lib: remove unnecessary async
Co-authored-by: Jason Zhang <xzha4350@gmail.com> PR-URL: #54829 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
1 parent 8048c2e commit fc37b80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/webstreams/adapters.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ function newWritableStreamFromStreamWritable(streamWritable) {
176176
return new WritableStream({
177177
start(c) { controller = c; },
178178

179-
async write(chunk) {
179+
write(chunk) {
180180
if (streamWritable.writableNeedDrain || !streamWritable.write(chunk)) {
181181
backpressurePromise = createDeferredPromise();
182182
return SafePromisePrototypeFinally(

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy