install-nix-action/node_modules/p-each-series/index.js
Domen Kožar 49df04613e
v7
2020-02-24 13:29:22 +01:00

4 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);