Staging: this is not the live site, pydocs.org.
Represents the result of an asynchronous computation.
Members of Future
c
- cancel
- Cancel the future if possible.
- cancelled
- Return True if the future was cancelled.
d
- done
- Return True if the future was cancelled or finished executing.
e
- exception
- Return the exception raised by the call that the future represents.
r
- result
- Return the result of the call that the future represents.
- running
- Return True if the future is currently executing.
s
- set_exception
- Sets the result of the future as being the given exception.
- set_result
- Sets the return value of work associated with the future.