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

Method close_all_connections

asyncpg/_testbase/fuzzer.py:152–154  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

150 conn_task.cancel()
151
152 def close_all_connections(self):
153 for conn in list(self.connections):
154 self.loop.call_soon_threadsafe(conn.close)
155
156
157class Connection:

Calls

no outgoing calls