Skip to main content

derive_once

Function derive_once 

Source
pub fn derive_once(
    clock: &impl Clock,
    task_id: TaskId,
    already_derived: u32,
) -> Result<DerivationSuccess, DerivationError>
Expand description

Derives exactly one run for a Once policy task.

If at least one run has already been derived, no new run is created.