MCPcopy Create free account
hub / github.com/TruthHun/BookStack / completed

Function completed

static/word2md/mammoth.browser.js:8362–8368  ·  view source on GitHub ↗
(valueOrReason, array)

Source from the content-addressed store, hash-verified

8360};
8361
8362function completed(valueOrReason, array) {
8363 if (this.isFulfilled()) {
8364 array._resolve(valueOrReason);
8365 } else {
8366 array._reject(valueOrReason);
8367 }
8368}
8369
8370function reduce(promises, fn, initialValue, _each) {
8371 if (typeof fn !== "function") {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected