Skip to content

Commit fc37b80

Browse files
jakecastellijazelly
authored andcommitted
lib: remove unnecessary async
Co-authored-by: Jason Zhang <[email protected]> PR-URL: #54829 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
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)