MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / done

Method done

tools/python-3.11.9-amd64/Lib/asyncio/futures.py:181–187  ·  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

179 # Don't implement running(); see http://bugs.python.org/issue18699
180
181 def done(self):
182 """Return True if the future is done.
183
184 Done means either that a result / exception are available, or that the
185 future was cancelled.
186 """
187 return self._state != _PENDING
188
189 def result(self):
190 """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
__main__.pyFile · 0.45
_pollMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected