ReteCustomFunction

Type Alias ReteCustomFunction 

Source
pub type ReteCustomFunction = Arc<dyn Fn(&[FactValue], &TypedFacts) -> Result<FactValue> + Send + Sync>;
Expand description

Type alias for custom test functions in RETE engine Functions take a slice of FactValues and return a FactValue (typically Boolean)

Aliased Typeยง

pub struct ReteCustomFunction { /* private fields */ }