MCPcopy Create free account
hub / github.com/nodejs/node / blob

Method blob

deps/undici/src/lib/api/readable.js:195–197  ·  view source on GitHub ↗

* Consumes and returns the body as a Blob * * @see https://fetch.spec.whatwg.org/#dom-body-blob * @returns {Promise }

()

Source from the content-addressed store, hash-verified

193 * @returns {Promise<Blob>}
194 */
195 blob () {
196 return consume(this, 'blob')
197 }
198
199 /**
200 * Consumes and returns the body as an Uint8Array.

Callers

nothing calls this directly

Calls 1

consumeFunction · 0.70

Tested by

no test coverage detected