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

Method closed

lib/internal/webstreams/readablestream.js:1096–1100  ·  view source on GitHub ↗

* @readonly * @type {Promise }

()

Source from the content-addressed store, hash-verified

1094 * @type {Promise<void>}
1095 */
1096 get closed() {
1097 if (!isReadableStreamBYOBReader(this))
1098 return PromiseReject(new ERR_INVALID_THIS('ReadableStreamBYOBReader'));
1099 return readerClosedPromise(this).promise;
1100 }
1101
1102 /**
1103 * @param {any} [reason]

Callers

nothing calls this directly

Calls 1

readerClosedPromiseFunction · 0.85

Tested by

no test coverage detected