(self, synchronous=False)
Closes this cursor.
Closes this cursor.
Closes this cursor .
def __die(self, synchronous=False):
        """Closes this cursor.
        """
        if self.__id and not self.__killed:
            address = _CursorAddress(
                self.__address, self.__collection.full_name)
            if synchronous:
                self.__collection.database.client._close_cursor_now(
                    self.__id, address)
            else:
                self.__collection.database.client.close_cursor(
                    self.__id, address)
        self.__killed = True
def __die ( self , synchronous = False ) : if self . __id and not self . __killed : address = _CursorAddress ( self . __address , self . __collection . full_name ) if synchronous : self . __collection . database . client . _close_cursor_now ( self . __id , address ) else : self . __collection . database . client . close_cursor ( self . __id , address ) self . __killed = True