MCPcopy Create free account
hub / github.com/BloombergGraphics/whatiscode / consumed

Function consumed

scripts/libs/fetch.js:80–85  ·  view source on GitHub ↗
(body)

Source from the content-addressed store, hash-verified

78 }
79
80 function consumed(body) {
81 if (body.bodyUsed) {
82 return Promise.reject(new TypeError('Already read'))
83 }
84 body.bodyUsed = true
85 }
86
87 function fileReaderReady(reader) {
88 return new Promise(function(resolve, reject) {

Callers 1

BodyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected