MCPcopy Create free account
hub / github.com/diffgram/diffgram / on_message

Method on_message

eventhandlers/ActionConsumer.py:51–57  ·  view source on GitHub ↗
(ch, method_frame, _header_frame, body, args)

Source from the content-addressed store, hash-verified

49
50 @staticmethod
51 def on_message(ch, method_frame, _header_frame, body, args):
52 (conn, thrds) = args
53 delivery_tag = method_frame.delivery_tag
54 t = threading.Thread(target = ActionsConsumer.process_action_trigger_event,
55 args = (conn, ch, delivery_tag, body))
56 t.start()
57 thrds.append(t)
58
59 @staticmethod
60 def filter_actions_matching_directory_trigger(actions_list, event_data):

Callers

nothing calls this directly

Calls 1

startMethod · 0.45

Tested by

no test coverage detected