mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-11-13 22:56:18 +00:00
23 lines
600 B
JavaScript
23 lines
600 B
JavaScript
'use strict';
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = doParallel;
|
|
|
|
var _eachOf = require('../eachOf');
|
|
|
|
var _eachOf2 = _interopRequireDefault(_eachOf);
|
|
|
|
var _wrapAsync = require('./wrapAsync');
|
|
|
|
var _wrapAsync2 = _interopRequireDefault(_wrapAsync);
|
|
|
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
|
|
function doParallel(fn) {
|
|
return function (obj, iteratee, callback) {
|
|
return fn(_eachOf2.default, obj, (0, _wrapAsync2.default)(iteratee), callback);
|
|
};
|
|
}
|
|
module.exports = exports['default']; |