MCPcopy Index your code
hub / github.com/tinode/chat / add_subscription

Function add_subscription

chatbot/python/chatbot.py:96–97  ·  view source on GitHub ↗
(topic)

Source from the content-addressed store, hash-verified

94# List of active subscriptions
95subscriptions = {}
96def add_subscription(topic):
97 subscriptions[topic] = True
98
99def del_subscription(topic):
100 subscriptions.pop(topic, None)

Callers 1

subscribeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…