const { value } = await reader.read();
Forgetting releaseLock() permanently breaks the stream. The locked property tells you that a stream is locked, but not why, by whom, or whether the lock is even still usable. Piping internally acquires locks, making streams unusable during pipe operations in ways that aren't obvious.
,推荐阅读Line官方版本下载获取更多信息
Opens in a new window
here, make sure to get the yarpgen branch.
Author(s): Michael Pilipchuk, Chaitali Patil, Veera Sundararaghavan