src/provider.js
/**
 * Close a list of providers
 *
 * @param {Array<Provider>} providers
 */
Close a list of providers
@param {Array} providers
Close a list of providers @param { Array } providers
async function close(providers) {
  return Promise.all(providers.map(async(provider) => {
    await provider.close();
    provider.log('closed');
  }));
}
async function close ( providers ) { return Promise . all ( providers . map ( async ( provider ) => { await provider . close ( ) ; provider . log ( 'closed' ) ; } ) ) ; }
Close a list of providers
 @param {Array<Provider>} providers
Close a list of providers @param { Array<Provider > } providers