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