nsq/message.py
def finish(self):
        """
        Respond to ``nsqd`` that you've processed this message successfully (or would like
        to silently discard it).
        """
        assert not self._has_responded
        self._has_responded = True
        self.trigger(event.FINISH, message=self)
def finish(self):
        """
        Respond to ``nsqd`` that you've processed this message successfully (or would like
        to silently discard it).
        """
        assert not self._has_responded
        self._has_responded = True
        self.trigger(event.FINISH, message=self)
def finish ( self ) : assert not self . _has_responded self . _has_responded = True self . trigger ( event . FINISH , message = self )
Respond to ``nsqd`` that you've processed this message successfully (or would like
        to silently discard it).
Respond to nsqd that you ve processed this message successfully ( or would like to silently discard it ) .