Skip to main content

WorkflowApprover

Type Alias WorkflowApprover 

Source
pub type WorkflowApprover = Arc<dyn Fn(WorkflowPlan) -> BoxFuture<'static, ApprovalDecision> + Send + Sync>;
Expand description

Asks the user to approve a run. Interactive mode installs one. Other modes leave it unset and runs start without asking, since nothing can answer.

Aliased Typeยง

pub struct WorkflowApprover { /* private fields */ }