raises *NoResult* exception if no result has been set

def get_result(self):
        """
        raises *NoResult* exception if no result has been set
        """
        self._process()
        if not self.has_result:
            raise NoResult
        return self.res_queue.popleft()