tools/setup/geth_checker.js
function () {
    const oThis = this
      , promiseArray = [];

    return new Promise(async function (onResolve, onReject) {
      for (var chain in setupConfig.chains) {
        promiseArray.push(oThis._isRunning(chain));
      }
      return Promise.all(promiseArray).then(onResolve);
    });
  }
function () {
    const oThis = this
      , promiseArray = [];

    return new Promise(async function (onResolve, onReject) {
      for (var chain in setupConfig.chains) {
        promiseArray.push(oThis._isRunning(chain));
      }
      return Promise.all(promiseArray).then(onResolve);
    });
  }
function ( ) { const oThis = this , promiseArray = [ ] ; return new Promise ( async function ( onResolve , onReject ) { for ( var chain in setupConfig . chains ) { promiseArray . push ( oThis . _isRunning ( chain ) ) ; } return Promise . all ( promiseArray ) . then ( onResolve ) ; } ) ; }
Check if chains started mining and are ready

@return {promise}
Check if chains started mining and are ready