Skip to main content

TerminalPredicate

Type Alias TerminalPredicate 

Source
pub type TerminalPredicate = Box<dyn Fn(&dyn Context) -> bool + Send + Sync>;
Expand description

Boxed terminal-state predicate: returns true to halt round emission.

Aliased Type§

pub struct TerminalPredicate(/* private fields */);