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

Function gotAccum

static/word2md/mammoth.browser.js:8378–8388  ·  view source on GitHub ↗
(accum)

Source from the content-addressed store, hash-verified

8376}
8377
8378function gotAccum(accum) {
8379 this.accum = accum;
8380 this.array._gotAccum(accum);
8381 var value = tryConvertToPromise(this.value, this.array._promise);
8382 if (value instanceof Promise) {
8383 this.array._currentCancellable = value;
8384 return value._then(gotValue, undefined, undefined, this, undefined);
8385 } else {
8386 return gotValue.call(this, value);
8387 }
8388}
8389
8390function gotValue(value) {
8391 var array = this.array;

Callers

nothing calls this directly

Calls 1

tryConvertToPromiseFunction · 0.70

Tested by

no test coverage detected