cortex-ai 0.1.9

An asynchronous flow-based processing framework for building flexible data pipelines with conditional branching and error handling
Documentation
1
2
3
4
5
6
use super::component::FlowComponent;
use super::types::ConditionFuture;

pub trait Condition: FlowComponent {
    fn evaluate(&self, input: Self::Input) -> ConditionFuture<'_, Self::Output, Self::Error>;
}