Skip to main content

dispatch_handler_cache

Function dispatch_handler_cache 

Source
pub fn dispatch_handler_cache() -> Arc<HandlerCache> ⓘ
Expand description

Handler registry for the active dispatch context.

The registry is per host (Host::build() builds it once) and reached through the active DispatchRuntime; there is no process-wide fallback, so calling this outside a runtime panics like dispatch_provider.