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

Method wait

Lib/test/test_asyncio/test_events.py:1912–1917  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1910 self.loop._run_once = _run_once
1911
1912 async def wait():
1913 await asyncio.sleep(1e-2)
1914 await asyncio.sleep(1e-4)
1915 await asyncio.sleep(1e-6)
1916 await asyncio.sleep(1e-8)
1917 await asyncio.sleep(1e-10)
1918
1919 self.loop.run_until_complete(wait())
1920 # The ideal number of call is 12, but on some platforms, the selector

Callers 4

run_in_threadMethod · 0.45
test_subprocess_execMethod · 0.45

Calls 1

sleepMethod · 0.45

Tested by

no test coverage detected