Karta. Messaging. Command
(Karta v1.0.0)
A command for an agent (Karta.Messaging.Commands): the outbox of a
remote plug. id is the protocol's command_id; seq is gap-free per
connector. state: pending (written), sent (pushed on a
connection), acked (the agent has it in its journal), done (it
answered, result says how) or expired (expires_at passed before it
acknowledged).
Summary
Types
@type t() :: %Karta.Messaging.Command{ __meta__: term(), acked_at: term(), body: term(), connector: term(), connector_id: term(), done_at: term(), expires_at: term(), id: term(), inserted_at: term(), message_id: term(), name: term(), result: term(), sent_at: term(), seq: term(), server: term(), server_id: term(), state: term(), updated_at: term() }