(values)
| 7506 | } |
| 7507 | |
| 7508 | function 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 | } |
| 7519 | util.inherits(PromiseArray, Proxyable); |
| 7520 | |
| 7521 | PromiseArray.prototype.length = function () { |
nothing calls this directly
no outgoing calls
no test coverage detected