summaryrefslogtreecommitdiff
path: root/build/modules/internal/doParallel.js
blob: a96a14200119049ff8cd8431e1500cba6ef36181 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
'use strict';

Object.defineProperty(exports, "__esModule", {
    value: true
});
exports.default = doParallel;

var _eachOf = require('../eachOf');

var _eachOf2 = _interopRequireDefault(_eachOf);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function doParallel(fn) {
    return function (obj, iterator, callback) {
        return fn(_eachOf2.default, obj, iterator, callback);
    };
}
module.exports = exports['default'];