UNPKG

@duetds/date-picker

Version:

Duet Date Picker is an open source version of Duet Design System’s accessible date picker.

17 lines (12 loc) 346 B
'use strict'; const pEachSeries = async (iterable, iterator) => { let index = 0; for (const value of iterable) { // eslint-disable-next-line no-await-in-loop await iterator(await value, index++); } return iterable; }; module.exports = pEachSeries; // TODO: Remove this for the next major release module.exports.default = pEachSeries;