PATH:
opt
/
bitninja-dispatcher
/
node_modules
/
async
/
internal
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); const PROMISE_SYMBOL = Symbol('promiseCallback'); function promiseCallback() { let resolve, reject; function callback(err, ...args) { if (err) return reject(err); resolve(args.length > 1 ? args : args[0]); } callback[PROMISE_SYMBOL] = new Promise((res, rej) => { resolve = res, reject = rej; }); return callback; } exports.promiseCallback = promiseCallback; exports.PROMISE_SYMBOL = PROMISE_SYMBOL;
[-] wrapAsync.js
[edit]
[+]
..
[-] breakLoop.js
[edit]
[-] awaitify.js
[edit]
[-] getIterator.js
[edit]
[-] queue.js
[edit]
[-] isArrayLike.js
[edit]
[-] promiseCallback.js
[edit]
[-] eachOfLimit.js
[edit]
[-] parallel.js
[edit]
[-] once.js
[edit]
[-] setImmediate.js
[edit]
[-] applyEach.js
[edit]
[-] withoutIndex.js
[edit]
[-] DoublyLinkedList.js
[edit]
[-] createTester.js
[edit]
[-] initialParams.js
[edit]
[-] asyncEachOfLimit.js
[edit]
[-] reject.js
[edit]
[-] range.js
[edit]
[-] iterator.js
[edit]
[-] map.js
[edit]
[-] filter.js
[edit]
[-] onlyOnce.js
[edit]
[-] consoleFunc.js
[edit]
[-] Heap.js
[edit]