code: def get(self, timeout=None):
          
          self.wait(timeout)
          if self._state==self.FULFILLED:
              return self.value
          else:
              raise ValueError("Calculation didn't yield a value")
docs: Get the value of the promise, waiting if necessary.