MCPcopy Index your code
hub / github.com/RustPython/RustPython / done

Method done

Lib/asyncio/futures.py:187–193  ·  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

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.

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