Skip to main content

RiHookHandler

Type Alias RiHookHandler 

Source
pub type RiHookHandler = Box<dyn Fn(&RiServiceContext, &RiHookEvent) -> RiResult<()> + Send + Sync>;
Expand description

Type alias for a hook handler function

Aliased Typeยง

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