为政之道,得其大者可以兼其小。
If the transform's transform() operation is synchronous and always enqueues output immediately, it never signals backpressure back to the writable side even when the downstream consumer is slow. This is a consequence of the spec design that many developers completely overlook. In browsers, where there's only a single user and typically only a small number of stream pipelines active at any given time, this type of foot gun is often of no consequence, but it has a major impact on server-side or edge performance in runtimes that serve thousands of concurrent requests.
。91视频对此有专业解读
(二)明知住宿人员是犯罪嫌疑人员或者被公安机关通缉的人员,不向公安机关报告的;
async transform(chunk, controller) {