pub type SessionHook = Arc<dyn Fn(State, Arc<dyn SessionWriter>) -> BoxFuture<()> + Send + Sync>;Expand description
An async session hook: receives a clone of the shared State and the
session writer. The shape of phase on_enter/on_exit, phase
preparations, and temporal-pattern actions.
Aliased Typeยง
pub struct SessionHook { /* private fields */ }