MCPcopy Create free account
hub / github.com/sammchardy/python-binance / stop_client

Method stop_client

binance/ws/threaded_stream.py:102–105  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

100 self._socket_running[socket_name] = False
101
102 async def stop_client(self):
103 if not self._client:
104 return
105 await self._client.close_connection()
106
107 def stop(self):
108 self._log.debug("Stopping ThreadedApiManager")

Callers 3

stopMethod · 0.95
test_stop_clientFunction · 0.80

Calls 1

close_connectionMethod · 0.45

Tested by 2

test_stop_clientFunction · 0.64