MCPcopy
hub / github.com/psycopg/psycopg / closer

Function closer

tests/test_waiting_async.py:364–366  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

362 waitfn = getattr(waiting, waitfn)
363
364 async def closer():
365 await asleep(0.5)
366 pgconn.finish()
367
368 t = spawn(closer)
369

Callers

nothing calls this directly

Calls 2

asleepFunction · 0.70
finishMethod · 0.45

Tested by

no test coverage detected