Return True if the future is done. Done means either that a result / exception are available, or that the future was cancelled.
(self)
| 189 | # Don't implement running(); see http://bugs.python.org/issue18699 |
| 190 | |
| 191 | def done(self): |
| 192 | """Return True if the future is done. |
| 193 | |
| 194 | Done means either that a result / exception are available, or that the |
| 195 | future was cancelled. |
| 196 | """ |
| 197 | return self._state != _PENDING |
| 198 | |
| 199 | def result(self): |
| 200 | """Return the result this future represents. |
no outgoing calls
no test coverage detected