const enc = new TextEncoder();
Opens in a new window
,详情可参考同城约会
Continue reading...
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.