lib/connection/result/chunk.js
function(err)
  {
    // we're done loading
    self._isLoading = false;

    // emit an event to notify subscribers
    self.emit('loadcomplete', err, self);

    // invoke the callback if one was specified
    if (Util.isFunction(callback))
    {
      callback(err, self);
    }
  }
function(err)
  {
    // we're done loading
    self._isLoading = false;

    // emit an event to notify subscribers
    self.emit('loadcomplete', err, self);

    // invoke the callback if one was specified
    if (Util.isFunction(callback))
    {
      callback(err, self);
    }
  }
function ( err ) { // we're done loading self . _isLoading = false ; // emit an event to notify subscribers self . emit ( 'loadcomplete' , err , self ) ; // invoke the callback if one was specified if ( Util . isFunction ( callback ) ) { callback ( err , self ) ; } }
Completes the chunk load.

@param err
Completes the chunk load .