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

Method run_until_complete

Lib/asyncio/events.py:263–268  ·  view source on GitHub ↗

Run the event loop until a Future is done. Return the Future's result, or raise its exception.

(self, future)

Source from the content-addressed store, hash-verified

261 raise NotImplementedError
262
263 def run_until_complete(self, future):
264 """Run the event loop until a Future is done.
265
266 Return the Future's result, or raise its exception.
267 """
268 raise NotImplementedError
269
270 def stop(self):
271 """Stop the event loop as soon as reasonable.

Callers 15

closeMethod · 0.45
runMethod · 0.45
_cancel_all_tasksFunction · 0.45
test_async_gen_aiterMethod · 0.45
test_anext_bad_argsMethod · 0.45
test_anext_bad_awaitMethod · 0.45

Calls

no outgoing calls