Messaging API
How do I use Partisan to route messages between nodes?
For routing messages between nodes, Partisan provides a function called forward_message
. This function, given a node name, process identifier or registered name, will forward the message and deliver it into the remote processes mailbox.
> partisan_peer_service:forward_message(NodeName, RemotePidOrRegisteredName, Message).
ok
Updated less than a minute ago