summaryrefslogtreecommitdiff
path: root/lib/internal/doSeries.js
blob: c7f1d99b07b469442b2288773899d620f634d39f (plain)
1
2
3
4
5
6
7
8
9
'use strict';

import eachOfSeries from '../eachOfSeries';

export default function doSeries(fn) {
    return function (obj, iterator, callback) {
        return fn(eachOfSeries, obj, iterator, callback);
    };
}