(promises, fn, limit, _filter)
| 6389 | var async = Promise._async; |
| 6390 | |
| 6391 | function MappingPromiseArray(promises, fn, limit, _filter) { |
| 6392 | this.constructor$(promises); |
| 6393 | this._promise._captureStackTrace(); |
| 6394 | var domain = getDomain(); |
| 6395 | this._callback = domain === null ? fn : util.domainBind(domain, fn); |
| 6396 | this._preservedValues = _filter === INTERNAL |
| 6397 | ? new Array(this.length()) |
| 6398 | : null; |
| 6399 | this._limit = limit; |
| 6400 | this._inFlight = 0; |
| 6401 | this._queue = []; |
| 6402 | async.invoke(this._asyncInit, this, undefined); |
| 6403 | } |
| 6404 | util.inherits(MappingPromiseArray, PromiseArray); |
| 6405 | |
| 6406 | MappingPromiseArray.prototype._asyncInit = function() { |
nothing calls this directly
no outgoing calls
no test coverage detected