Skip to content

Commit

Permalink
deno fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
seriousme committed Oct 30, 2024
1 parent b8207f4 commit 8ccb99f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions node/wrapNodeSocket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,12 @@ export function wrapNodeSocket(socket: Socket): SockConn {
socket.pause();
}
});
socket.on("error", (err)=> controller.error(err));
socket.on("error", (err) => controller.error(err));
socket.on("end", () => {
// unlock the last BYOB read request
controller.byobRequest?.respond(1);
controller.close()
}
);
controller.close();
});
},
pull: () => {
socket.resume();
Expand Down

0 comments on commit 8ccb99f

Please sign in to comment.