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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎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
returnnewWritableStream({
177177
start(c){controller=c;},
178178

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

0 commit comments

Comments
 (0)