// 步骤3:遍历排序后的位置,用单调栈判断独立车队
The readable is just an async iterable. You can pass it to any function that expects one, including Stream.text() which collects and decodes the entire stream.
,详情可参考Line官方版本下载
lines.push(combined.slice(start, i));
In JavaScript, the natural primitive for "a sequence of things that arrive over time" is already in the language: the async iterable. You consume it with for await...of. You stop consuming by stopping iteration.