readableStream.locked
-
类型:<boolean> 如果该 <ReadableStream> 有活动读取器,则设置为
true
。¥Type: <boolean> Set to
true
if there is an active reader for this <ReadableStream>.
readableStream.locked
属性默认为 false
,当有活动读取器使用流的数据时切换为 true
。
¥The readableStream.locked
property is false
by default, and is
switched to true
while there is an active reader consuming the
stream's data.