MCPcopy Index your code
hub / github.com/slackapi/python-slack-sdk / close

Method close

slack_sdk/socket_mode/builtin/client.py:224–232  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

222 raise e
223
224 def close(self):
225 self.closed = True
226 self.auto_reconnect_enabled = False
227 self.disconnect()
228 if self.current_app_monitor.is_alive():
229 self.current_app_monitor.shutdown()
230 if self.message_processor.is_alive():
231 self.message_processor.shutdown()
232 self.message_workers.shutdown()
233
234 def _on_message(self, message: str):
235 if self.logger.level <= logging.DEBUG:

Callers 15

mainFunction · 0.95
test_interactionsMethod · 0.95
test_interactionsMethod · 0.95
test_init_closeMethod · 0.95
test_init_with_loopMethod · 0.95
test_enqueue_messageMethod · 0.95
test_init_closeMethod · 0.95

Calls 3

disconnectMethod · 0.95
is_aliveMethod · 0.80
shutdownMethod · 0.80