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

Method ready

lib/internal/webstreams/writablestream.js:420–424  ·  view source on GitHub ↗

* @readonly * @type {Promise }

()

Source from the content-addressed store, hash-verified

418 * @type {Promise<void>}
419 */
420 get ready() {
421 if (!isWritableStreamDefaultWriter(this))
422 return PromiseReject(new ERR_INVALID_THIS('WritableStreamDefaultWriter'));
423 return writerReadyPromise(this).promise;
424 }
425
426 /**
427 * @param {any} [reason]

Callers

nothing calls this directly

Calls 1

writerReadyPromiseFunction · 0.85

Tested by

no test coverage detected