Skip to main content

compose_delivery

Function compose_delivery 

Source
fn compose_delivery(
    state: &AppState,
    block_id: &str,
    agent_uid: Option<&str>,
    reason: Reason,
    launch: Option<&LaunchDirs>,
    now: i64,
) -> Option<Delivery>
Expand description

Reads the memory and composes the delivery. None when there is nothing to deliver. A new session’s delivery also lists the startup files the CLI loaded from launch (startup_items), ahead of the memory items.