lib/worker-manager.js
function shutdown(){
    // trigger stop on all workers
    // catch errors thrown by killed workers
    return Promise.all(Object.values(_cluster.workers).map(worker => stopWorker(worker).catch(err => _logger.error(err))));
}
function shutdown(){
    // trigger stop on all workers
    // catch errors thrown by killed workers
    return Promise.all(Object.values(_cluster.workers).map(worker => stopWorker(worker).catch(err => _logger.error(err))));
}
function shutdown ( ) { // trigger stop on all workers // catch errors thrown by killed workers return Promise . all ( Object . values ( _cluster . workers ) . map ( worker => stopWorker ( worker ) . catch ( err => _logger . error ( err ) ) ) ) ; }
shutdown all workers
shutdown all workers