Skip to main content

RouteHandler

Type Alias RouteHandler 

Source
pub type RouteHandler<S> = Arc<dyn Fn(CommitEvent, S) -> BoxFuture<'static, Result<()>> + Send + Sync>;
Expand description

Handler function type for the event router.

Aliased Typeยง

pub struct RouteHandler<S> { /* private fields */ }