Mailbox node routing and command dispatcher (kombu.pidbox.Node).
Summary
Functions
Creates a Consumer on this node's mailbox queue.
Executes the registered handler for method and sends reply if requested.
Dispatches incoming message if directed to this node.
Registers a command handler under name.
fun receives (state, kwargs).
Starts consuming from the mailbox queue.
Sends reply back to caller via mailbox.
Types
Functions
@spec consumer(t(), keyword()) :: Kombu.Consumer.t()
Creates a Consumer on this node's mailbox queue.
Executes the registered handler for method and sends reply if requested.
@spec handle_message(t(), map(), Kombu.Message.t() | nil) :: term()
Dispatches incoming message if directed to this node.
Registers a command handler under name.
fun receives (state, kwargs).
@spec listen(t(), keyword()) :: Kombu.Consumer.t()
Starts consuming from the mailbox queue.
@spec new(String.t(), Kombu.Pidbox.Mailbox.t(), keyword()) :: t()
Sends reply back to caller via mailbox.