MCPcopy 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_foreverMethod · 0.95
test_close_clientsMethod · 0.45

Calls 2

copyMethod · 0.45
closeMethod · 0.45

Tested by 1

test_close_clientsMethod · 0.36