MCPcopy Index your code
hub / github.com/diffgram/diffgram / on_message

Method on_message

eventhandlers/SchedulerConsumer.py:65–70  ·  view source on GitHub ↗
(ch, method_frame, _header_frame, body, args)

Source from the content-addressed store, hash-verified

63
64 @staticmethod
65 def on_message(ch, method_frame, _header_frame, body, args):
66 (conn, thrds) = args
67 delivery_tag = method_frame.delivery_tag
68 t = threading.Thread(target = SchedulerConsumer.process_new_event, args = (conn, ch, delivery_tag, body))
69 t.start()
70 thrds.append(t)
71
72 @staticmethod
73 def process_new_event(channel, method, properties, msg):

Callers

nothing calls this directly

Calls 1

startMethod · 0.45

Tested by

no test coverage detected