Skip to content

Commit

Permalink
examples: fix mismatched argument type
Browse files Browse the repository at this point in the history
  • Loading branch information
bhbs authored and BiagioFesta committed Sep 12, 2024
1 parent ab54c2f commit 294e015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wtransport/examples/full.rs
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ async function sendData() {
case 'bidi': {
let stream = await transport.createBidirectionalStream();
let number = streamNumber++;
readFromIncomingStream(stream, number);
readFromIncomingStream(stream.readable, number);
let writer = stream.writable.getWriter();
await writer.write(data);
Expand Down

0 comments on commit 294e015

Please sign in to comment.