MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / consumed

Function consumed

packages/core/fetch/index.mjs:160–165  ·  view source on GitHub ↗
(body)

Source from the content-addressed store, hash-verified

158 }
159
160 function consumed(body) {
161 if (body.bodyUsed) {
162 return Promise.reject(new TypeError("Already read"));
163 }
164 body.bodyUsed = true;
165 }
166
167 function fileReaderReady(reader) {
168 return new Promise(function (resolve, reject) {

Callers 1

BodyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected