Skip to main content

schedule

Function schedule 

Source
pub fn schedule<F>(
    cron: impl Into<String>,
    map_input: F,
) -> WorkflowActivationConfig
where F: Fn() -> BTreeMap<String, WorkflowValue> + Send + Sync + 'static,
Expand description

Creates a schedule activation for WorkflowBuilder::on.