Staging: this is not the live site, pydocs.org.
Sets the return value of work associated with the future.
Should only be used by Executor implementations and unit tests.
Changed in 3.8
- 3.8: This method raises concurrent.futures.InvalidStateError if the Future is already done.