MCPcopy Create free account
hub / github.com/BUPT-GAMMA/MASFactory / _message_dispatch_out

Method _message_dispatch_out

masfactory/core/node.py:251–255  ·  view source on GitHub ↗

Dispatch one message to all outgoing edges.

(self, message:dict[str,object])

Source from the content-addressed store, hash-verified

249 return input
250 @masf_hook(Hook.MESSAGE_DISPATCH_OUT)
251 def _message_dispatch_out(self, message:dict[str,object]):
252 """Dispatch one message to all outgoing edges."""
253 for out_edge in self.out_edges:
254 out_edge.send_message(message)
255 self._gate = Gate.OPEN
256
257 def _close_out_edges(self):
258 """Close all outgoing edges."""

Callers 1

executeMethod · 0.95

Calls 1

send_messageMethod · 0.45

Tested by

no test coverage detected