This example processes an stream of inputs using a TransformStream
inside a web worker.
It uses RemoteReadableStream
and RemoteWritableStream
to pipe data to and from the
worker, allowing the page to show the results as they are being received
and remain responsive because the processing happens in a separate thread.