Skip to main content

evaluate_condition_in_arena

Function evaluate_condition_in_arena 

Source
pub fn evaluate_condition_in_arena(
    engine: &Engine,
    compiled_condition: Option<&Arc<Logic>>,
    ctx: DataValue<'_>,
    arena: &Bump,
) -> Result<bool>
Expand description

Same as evaluate_condition but evaluates against an arena-resident DataValue and an existing Bump. Used inside a with_arena block (the workflow sync-stretch path) to avoid re-entering the thread-local arena RefCell::borrow_mut.