The problem compounds in pipelines. Each TransformStream adds another layer of promise machinery between source and sink. The spec doesn't define synchronous fast paths, so even when data is available immediately, the promise machinery still runs.
Фото: AstroStar / Shutterstock / Fotodom
,更多细节参见51吃瓜
const combined = concat(pending, ...chunks);
$10/month for Verizon customers with myPlan (save $8.98/month)