Skip to main content

settle

Function settle 

Source
fn settle(
    state: &AppState,
    (device_id, agent): (&str, &str),
    block_id: &str,
    message_id: &str,
    sent: Option<Sent>,
)
Expand description

After a delivery from device to agent: the send ledger learns how it went (a failed one may be retried); a delivered one shows the device as driving the agent on the host, and a failed one’s origin is forgotten.