MCPcopy
hub / github.com/tinode/chat / client_generate

Function client_generate

chatbot/python/chatbot.py:159–165  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

157queue_out = queue.Queue()
158
159def client_generate():
160 while True:
161 msg = queue_out.get()
162 if msg == None:
163 return
164 log("out:", to_json(msg))
165 yield msg
166
167def client_post(msg):
168 queue_out.put(msg)

Callers 1

init_clientFunction · 0.85

Calls 3

logFunction · 0.85
getMethod · 0.80
to_jsonFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…