services/utils/platform_status.js
async function () {

    const oThis = this
      , statusResponse = {chain: {value: false, utility: false}};

    // check geth status
    for (var chainName in statusResponse.chain) {
      var response = await oThis._gethStatus(chainName);
      if (response.isSuccess()) {
        statusResponse.chain[chainName] = true;
      } else {
        return Promise.resolve(response);
      }
    }

    return Promise.resolve(responseHelper.successWithData(statusResponse));

  }
async function () {

    const oThis = this
      , statusResponse = {chain: {value: false, utility: false}};

    // check geth status
    for (var chainName in statusResponse.chain) {
      var response = await oThis._gethStatus(chainName);
      if (response.isSuccess()) {
        statusResponse.chain[chainName] = true;
      } else {
        return Promise.resolve(response);
      }
    }

    return Promise.resolve(responseHelper.successWithData(statusResponse));

  }
async function ( ) { const oThis = this , statusResponse = { chain : { value : false , utility : false } } ; // check geth status for ( var chainName in statusResponse . chain ) { var response = await oThis . _gethStatus ( chainName ) ; if ( response . isSuccess ( ) ) { statusResponse . chain [ chainName ] = true ; } else { return Promise . resolve ( response ) ; } } return Promise . resolve ( responseHelper . successWithData ( statusResponse ) ) ; }
Check status of all services

@return {promise<result>}
Check status of all services