MCPcopy Create free account
hub / github.com/CloudOrc/SolidUI / send_json

Function send_json

solidui/kernel_program/utils.py:33–35  ·  view source on GitHub ↗
(messaging, message, identity)

Source from the content-addressed store, hash-verified

31
32
33def send_json(messaging, message, identity):
34 message = snakemq.message.Message(json.dumps(message).encode("utf-8"), ttl=600)
35 messaging.send_message(identity, message)
36
37
38def init_snakemq(ident, init_type="listen"):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected