MCPcopy Create free account
hub / github.com/Code-Bullet/Jump-King / consumed

Function consumed

libraries/p5.js:7657–7662  ·  view source on GitHub ↗
(body)

Source from the content-addressed store, hash-verified

7655 }
7656
7657 function consumed(body) {
7658 if (body.bodyUsed) {
7659 return Promise.reject(new TypeError('Already read'))
7660 }
7661 body.bodyUsed = true
7662 }
7663
7664 function fileReaderReady(reader) {
7665 return new Promise(function(resolve, reject) {

Callers 1

BodyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected