Skip to main content

live_cron_slot

Function live_cron_slot 

Source
fn live_cron_slot(
    workspace: &Arc<Workspace>,
    view: &ProjectView,
    team_role: Option<&str>,
) -> Option<SessionSlot>
Expand description

The live session that fills the cron’s slot in view: for a lead cron the running lead (the first open session that is not a live worker); for a worker cron the live worker with that label. None when no session holds the slot.