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