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

Method closed

lib/internal/webstreams/writablestream.js:396–400  ·  view source on GitHub ↗

* @readonly * @type {Promise }

()

Source from the content-addressed store, hash-verified

394 * @type {Promise<void>}
395 */
396 get closed() {
397 if (!isWritableStreamDefaultWriter(this))
398 return PromiseReject(new ERR_INVALID_THIS('WritableStreamDefaultWriter'));
399 return writerClosedPromise(this).promise;
400 }
401
402 /**
403 * @readonly

Callers

nothing calls this directly

Calls 1

writerClosedPromiseFunction · 0.85

Tested by

no test coverage detected