PyDocs

Nav

Concurrent Execution

Future.result

concurrent.futures

method of Future (source) not WASI
  • Future.result(timeout=None)
Return the result of the call that the future represents.

Args:
    timeout: The number of seconds to wait for the result if the
        future isn't done.  If None, then there is no limit on the
        wait time.

Returns:
    The result of the call that the future represents.

Raises:
    CancelledError: If the future was cancelled.
    TimeoutError: If the future didn't finish executing before the
        given timeout.
    Exception: If the call raised then that exception will be
        raised.
0 Examples
No examples for concurrent.futures/Future.result.
See Also
No see-alsos for concurrent.futures/Future.result
0 Notes
No notes for Future.result