whole_func_string: function(result, request){
  
          var success = true;
  
          if (request.timeout) {
              clearTimeout(request.timeout);
          }
          delete this[request.callbackName];
          delete this.requests[request.id];
          this.cleanupErrorHandling(request);
          Ext.fly(request.script).remove();
  
          if (request.errorType) {
              success = false;
              Ext.callback(request.failure, request.scope, [request.errorType]);
          } else {
              Ext.callback(request.success, request.scope, [result]);
          }
          Ext.callback(request.callback, request.scope, [success, result, request.errorType]);
          Ext.EventManager.idleEvent.fire();
      }
func_code_string: function(result, request){
  
          var success = true;
  
          if (request.timeout) {
              clearTimeout(request.timeout);
          }
          delete this[request.callbackName];
          delete this.requests[request.id];
          this.cleanupErrorHandling(request);
          Ext.fly(request.script).remove();
  
          if (request.errorType) {
              success = false;
              Ext.callback(request.failure, request.scope, [request.errorType]);
          } else {
              Ext.callback(request.success, request.scope, [result]);
          }
          Ext.callback(request.callback, request.scope, [success, result, request.errorType]);
          Ext.EventManager.idleEvent.fire();
      }
func_documentation_string: Handle a successful response
  @private
  @param {Object} result The result from the request
  @param {Object} request The request