Skip to main content

start_once

Function start_once 

Source
async fn start_once(
    state: &AppState,
    uid: &str,
    sender_key: &str,
) -> Result<(), String>
Expand description

Start the agent uid for sender_key unless it is registered or a start is in flight. A start that goes ahead counts against the sender’s starts per minute (start_rate); a no-op does not.