docs: function(err, result) {
      if (err) return callback(err);
      // Get the raw message
      var r = result.message;
  
      // If we have a timed out query or a cursor that was killed
      if ((r.responseFlags & (1 << 0)) !== 0) {
        return callback(new MongoError('cursor does not exist, was killed or timed out'), null);
      }
  
      // Ensure we have a Long valie cursor id
      var cursorId = typeof r.cursorId === 'number' ? Long.fromNumber(r.cursorId) : r.cursorId;
  
      // Set all the values
      cursorState.documents = r.documents;
      cursorState.cursorId = cursorId;
  
      // Return
      callback(null, null, r.connection);
    }