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

Function PromiseArray

static/word2md/mammoth.browser.js:7508–7518  ·  view source on GitHub ↗
(values)

Source from the content-addressed store, hash-verified

7506}
7507
7508function PromiseArray(values) {
7509 var promise = this._promise = new Promise(INTERNAL);
7510 if (values instanceof Promise) {
7511 promise._propagateFrom(values, 3);
7512 }
7513 promise._setOnCancel(this);
7514 this._values = values;
7515 this._length = 0;
7516 this._totalResolved = 0;
7517 this._init(undefined, -2);
7518}
7519util.inherits(PromiseArray, Proxyable);
7520
7521PromiseArray.prototype.length = function () {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected