Skip to main content

BranchPredicate

Trait BranchPredicate 

Source
pub trait BranchPredicate:
    Send
    + Sync
    + 'static {
    // Required method
    fn evaluate(&self, output: &Value) -> bool;
}
Expand description

Pure predicate over the workflow’s running state. Used by Branch and Loop.

Required Methods§

Source

fn evaluate(&self, output: &Value) -> bool

Implementors§