MCPcopy Index your code
hub / github.com/python/cpython / done

Method done

Lib/asyncio/futures.py:191–197  ·  view source on GitHub ↗

Return True if the future is done. Done means either that a result / exception are available, or that the future was cancelled.

(self)

Source from the content-addressed store, hash-verified

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.

Callers 15

__await__Method · 0.95
_task_repr_infoFunction · 0.45
_sock_recvMethod · 0.45
_sock_recv_intoMethod · 0.45
_sock_recvfromMethod · 0.45
_sock_recvfrom_intoMethod · 0.45
_sock_sendallMethod · 0.45
_sock_sendtoMethod · 0.45
_sock_connect_cbMethod · 0.45
_wakeup_nextMethod · 0.45
shutdownMethod · 0.45
__main__.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected