cortex_ai/flow/
condition.rs

1use super::component::FlowComponent;
2use super::types::ConditionFuture;
3
4pub trait Condition: FlowComponent {
5    fn evaluate(&self, input: Self::Input) -> ConditionFuture<'_, Self::Output, Self::Error>;
6}