pub type PreModelHook = Arc<dyn Fn(&mut MessageState) -> Pin<Box<dyn Future<Output = Result<(), SynapticError>> + Send + '_>> + Send + Sync>;Expand description
A hook called before each model invocation. Can modify the state.
Aliased Typeยง
pub struct PreModelHook { /* private fields */ }