Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ close_clients
Method
close_clients
Lib/asyncio/base_events.py:357–359 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
355
self._wakeup()
356
357
def
close_clients(self):
358
for
transport in self._clients.copy():
359
transport.close()
360
361
def
abort_clients(self):
362
for
transport in self._clients.copy():
Callers
2
serve_forever
Method · 0.95
test_close_clients
Method · 0.45
Calls
2
copy
Method · 0.45
close
Method · 0.45
Tested by
1
test_close_clients
Method · 0.36