code: def handle_result(self, result, error):
          
          if not self._error and not self._result:
              # Store results, if not already set
              self._error = error
              self._result = result
  
          # Unlock the call
          self._event.set()
docs: The result has been received
  
          :param result: Call result
          :param error: Error message