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: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
157
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