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

Method close_all_connections

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

Source from the content-addressed store, hash-verified

146 conn_task.cancel()
147
148 def close_all_connections(self):
149 for conn in list(self.connections):
150 self.loop.call_soon_threadsafe(self._close_connection, conn)
151
152
153class Connection:

Calls

no outgoing calls