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

Method locked

lib/internal/webstreams/writablestream.js:242–246  ·  view source on GitHub ↗

* @readonly * @type {boolean}

()

Source from the content-addressed store, hash-verified

240 * @type {boolean}
241 */
242 get locked() {
243 if (!isWritableStream(this))
244 throw new ERR_INVALID_THIS('WritableStream');
245 return isWritableStreamLocked(this);
246 }
247
248 /**
249 * @param {any} [reason]

Callers

nothing calls this directly

Calls 2

isWritableStreamFunction · 0.85
isWritableStreamLockedFunction · 0.85

Tested by

no test coverage detected