source: trip-planner-front/node_modules/async/internal/doParallel.js@ 76712b2

Last change on this file since 76712b2 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 600 bytes
RevLine 
[6a3a178]1'use strict';
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.default = doParallel;
7
8var _eachOf = require('../eachOf');
9
10var _eachOf2 = _interopRequireDefault(_eachOf);
11
12var _wrapAsync = require('./wrapAsync');
13
14var _wrapAsync2 = _interopRequireDefault(_wrapAsync);
15
16function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
18function doParallel(fn) {
19 return function (obj, iteratee, callback) {
20 return fn(_eachOf2.default, obj, (0, _wrapAsync2.default)(iteratee), callback);
21 };
22}
23module.exports = exports['default'];
Note: See TracBrowser for help on using the repository browser.