MCPcopy Create free account
hub / github.com/MagicStack/asyncpg / wait_until_closed

Method wait_until_closed

tests/test_timeout.py:330–332  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

328 await started.wait()
329
330 async def wait_until_closed():
331 while not con.is_closed():
332 await asyncio.sleep(0.005)
333
334 await asyncio.wait_for(
335 wait_until_closed(), MAX_RUNTIME)

Callers

nothing calls this directly

Calls 1

is_closedMethod · 0.80

Tested by

no test coverage detected