Esempio n. 1
0
 def result(self):
     # TODO: docstring
     with self._lock:
         self._observed = True
         if self._exc_info:
             reraise(self._exc_info)
         return self._result
Esempio n. 2
0
 def result(self):
     # TODO: docstring
     with self._lock:
         self._observed = True
         if self._exc_info:
             reraise(self._exc_info)
         return self._result