Why the FT?See why over a million readers pay to read the Financial Times.
Материалы по теме:
,推荐阅读雷电模拟器官方版本下载获取更多信息
The semantics around releasing locks with pending reads were also unclear for years. If you called read() but didn't await it, then called releaseLock(), what happened? The spec was recently clarified to cancel pending reads on lock release – but implementations varied, and code that relied on the previous unspecified behavior can break.
[ anyRcv anyKeywordPart: anyArg1 staticPart: anyArg2 ]
A difficulty here, however, is that the TransformStreamDefaultController does not have a ready promise mechanism like Writers do; so the TransformStream implementation would need to implement a polling mechanism to periodically check when controller.desiredSize becomes positive again.