lib/series.js
async function series(resolvers){
    // buffer
    const results = [];

    // run resolvers in series
    for (const r of resolvers){
        results.push(await r.resolve());
    }

    // return results
    return results;
}
async function series(resolvers){
    // buffer
    const results = [];

    // run resolvers in series
    for (const r of resolvers){
        results.push(await r.resolve());
    }

    // return results
    return results;
}
async function series ( resolvers ) { // buffer const results = [ ] ; // run resolvers in series for ( const r of resolvers ) { results . push ( await r . resolve ( ) ) ; } // return results return results ; }
resolves multiple promises in series
resolves multiple promises in series