(CHUNK1);
                } else if (pullCount == 2) {
                    controller.enqueue(CHUNK2);
                } else if (pullCount == 3) {
                    controller.enqueue(CHUNK3);
                } else {
                    controller.close();
                }
            },

            cancel() {},
        });

        const teed = stream.tee();

        readStream(teed[0], "stream1").then(() => {
            readStream(teed[1], "stream2").then(done);
        });
    });
</script>
