MCPcopy Index your code
hub / github.com/nodejs/node / locked

Method locked

lib/internal/webstreams/readablestream.js:333–337  ·  view source on GitHub ↗

* @readonly * @type {boolean}

()

Source from the content-addressed store, hash-verified

331 * @type {boolean}
332 */
333 get locked() {
334 if (!isReadableStream(this))
335 throw new ERR_INVALID_THIS('ReadableStream');
336 return isReadableStreamLocked(this);
337 }
338
339 static from(iterable) {
340 return readableStreamFromIterable(iterable);

Callers

nothing calls this directly

Calls 2

isReadableStreamLockedFunction · 0.85
isReadableStreamFunction · 0.50

Tested by

no test coverage detected