At its core, a stream is just a sequence of data that arrives over time. You don't have all of it at once. You process it incrementally as it becomes available.
Chris BaraniukTechnology Reporter
。旺商聊官方下载是该领域的重要参考
for await (const chunks of output) {
// Stateful transform — a generator that wraps the source