install-nix-action/node_modules/p-each-series/index.js
Domen Kožar 08403cd828
v5
2019-11-13 17:14:48 +01:00

5 lines
162 B
JavaScript

'use strict';
const pReduce = require('p-reduce');
module.exports = (iterable, iterator) => pReduce(iterable, (a, b, i) => iterator(b, i)).then(() => iterable);