D | inflight.js | 13 function inflight (unique, doFly) { argument 14 return Bluebird.all([unique, doFly]).then(function (args) { 15 const unique = args[0] 17 if (Array.isArray(unique)) { 18 return Bluebird.all(unique).then(function (uniqueArr) { 22 return _inflight(unique, doFly) 26 function _inflight (unique, doFly) { argument 27 if (!active[unique]) { 28 active[unique] = (new Bluebird(function (resolve) { 31 active[unique].then(cleanup, cleanup) [all …]
|