Skip to main content

claim_launch

Function claim_launch 

Source
pub fn claim_launch(
    store: &ExecutionStore,
    record: &ExecutionRecord,
    launch: &LaunchPlan,
) -> Result<(), ClaimError>
Expand description

Persist the launch’s record, refusing if another launch claimed the id in the meantime: a new id must still be free, an appended attempt must still follow the attempt the preflight saw.