Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
153
class
Connection:
Callers
1
test_connection_termination_callback_called_on_remote
Method · 0.80
Calls
no outgoing calls
Tested by
1
test_connection_termination_callback_called_on_remote
Method · 0.64