Skip to main content

arm_then_warm

Function arm_then_warm 

Source
async fn arm_then_warm(
    primary: Arc<dyn Blob>,
    opener: HedgeSiblingOpener,
    slot: Arc<OnceLock<Arc<dyn Blob>>>,
    cfg: Arc<ConfigSet>,
    metrics: BlobHedgeMetrics,
)
Expand description

Installs the sibling into slot once opener yields one, then keeps it warm. See HedgedBlob::new_arming for the retry contract.