A little toy to experiment with WHATWG stream. Made with 💻 by Surma.

new ReadableStream({
start() { }
pull() { }
cancel() { }
}, {
highWaterMark: 10
})
Controller

desiredSize = 10

.pipeThrough(new TransformStream({
start() { },
transform() { },
flush() { }
}, {
highWaterMark: 10
}, {
highWaterMark: 10
}))
Controller

desiredSize = 10

.pipeTo(new WritableStream({
start() { }
write() { }
abort() { },
close() { }
}, {
highWaterMark: 10
}))
Controller

Stream "C": Underlying source entered start()
Stream "B": Underlying source entered start()
Stream "A": Underlying source entered start()