MCPcopy Create free account
hub / github.com/pacexy/flow / callback

Method callback

packages/epubjs/src/utils/queue.js:212–218  ·  view source on GitHub ↗
(value, err)

Source from the content-addressed store, hash-verified

210
211 return new Promise((resolve, reject) => {
212 var callback = function (value, err) {
213 if (!value && err) {
214 reject(err)
215 } else {
216 resolve(value)
217 }
218 }
219 // Add the callback to the arguments list
220 toApply.push(callback)
221

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected