Raxol.Agent.Directive.SendAgent (Raxol Agent v2.6.0)

Copy Markdown View Source

Route a message to another agent by id. The target is looked up in Raxol.Agent.Registry; on success the message arrives as {:send_message, message} via GenServer.cast/2; on failure the sender receives {:command_result, {:send_agent_error, :not_found, target_id}}.

Summary

Types

t()

@type t() :: %Raxol.Agent.Directive.SendAgent{message: term(), target_id: term()}