install-nix-action/node_modules/p-each-series/index.js
Domen Kožar 70742d22d9
v6
2019-11-19 17:50:30 +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);