lib/agent.js
function getValueOfAgent(dep) {
    var len = dependencies.length;

    for (var i = 0; i < len; i++) {
      if (dep === dependencies[i]) {
        return agency.getAgentValue(dep);
      }
    }
    jn.logExecutionEvent(id, 'INFO', 'could not get value of agent ' + dep + ' (not a dependency)', (new Date()).toJSON());
    return null;
  }
function getValueOfAgent(dep) {
    var len = dependencies.length;

    for (var i = 0; i < len; i++) {
      if (dep === dependencies[i]) {
        return agency.getAgentValue(dep);
      }
    }
    jn.logExecutionEvent(id, 'INFO', 'could not get value of agent ' + dep + ' (not a dependency)', (new Date()).toJSON());
    return null;
  }
function getValueOfAgent ( dep ) { var len = dependencies . length ; for ( var i = 0 ; i < len ; i ++ ) { if ( dep === dependencies [ i ] ) { return agency . getAgentValue ( dep ) ; } } jn . logExecutionEvent ( id , 'INFO' , 'could not get value of agent ' + dep + ' (not a dependency)' , ( new Date ( ) ) . toJSON ( ) ) ; return null ; }
gets value of a dependency agent's execution (inter agent communication); wraps a call to the agency method
gets value of a dependency agent s execution ( inter agent communication ) ; wraps a call to the agency method