When you press the button, the following happens:
ReadableStream
and piped through a
TextDecodeStream
.
WritableStream
.
ReadableStream
from step 1 is
tee()
ed into two ReadableStream
s.
ReadableStream
is streamed into a
<pre>
displayed on the screen.
ReadableStream
is…
TransformStream
,TextEncoderStream
,CompressionStream
,WritableStream
from step 2.