UNPKG

iteragain

Version:

Javascript Iterable/Iterator/Generator-function utilities.

10 lines 352 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.promiseAll = promiseAll; const toArray_1 = require("./toArray"); /** Calls `Promise.all` on all collected values. */ function promiseAll(arg) { return Promise.all((0, toArray_1.default)(arg)); } exports.default = promiseAll; //# sourceMappingURL=promiseAll.js.map