Skip to content

Commit

Permalink
revert example.
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-ivar committed Jul 11, 2024
1 parent a146a0e commit 85a4176
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -7463,9 +7463,8 @@ web developer code insert [=transform streams=] into the middle of them.
`writable` attributes, web developers would write code like so:

<xmp highlight="js">
async function handleTransformer({readable, writable}) {
await readable.pipeThrough(new TransformStream(...)).pipeTo(writable);
}
const { readable, writable } = createEndpointPair();
await readable.pipeThrough(new TransformStream(...)).pipeTo(writable);
</xmp>
</div>

Expand Down

0 comments on commit 85a4176

Please sign in to comment.