MCPcopy Create free account
hub / github.com/play-co/devkit / PromiseArray

Function PromiseArray

src/web/util/bluebird.js:2514–2525  ·  view source on GitHub ↗
(values)

Source from the content-addressed store, hash-verified

2512}
2513
2514function PromiseArray(values) {
2515 var promise = this._promise = new Promise(INTERNAL);
2516 var parent;
2517 if (values instanceof Promise) {
2518 parent = values;
2519 promise._propagateFrom(parent, 1 | 4);
2520 }
2521 this._values = values;
2522 this._length = 0;
2523 this._totalResolved = 0;
2524 this._init(undefined, -2);
2525}
2526PromiseArray.prototype.length = function () {
2527 return this._length;
2528};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…