that this depends on the fact that the backing store does not escape
DagsHub (What is DagsHub?)。下载安装 谷歌浏览器 开启极速安全的 上网之旅。对此有专业解读
Pruned images: 0 (layers: 0, objsize: 36.9 MB),更多细节参见旺商聊官方下载
Web streams use a locking model to prevent multiple consumers from interleaving reads. When you call getReader(), the stream becomes locked. While locked, nothing else can read from the stream directly, pipe it, or even cancel it — only the code that is actually holding the reader can.
We can even go ahead and write a quick time-travel function like the one below to replay any execution trace locally, complete with built-in support for detecting time paradoxes!