Expand description
Per-request dispatch runtime — instance-scoped provider and handler cache.
Host stores a DispatchRuntime and scopes it to each HTTP request via
a task-local. Macro-generated dispatch and Mediator read from the active
runtime when present, falling back to process-wide globals for backward
compatibility (in-process Mediator::send without HTTP context).
Structs§
- Dispatch
Runtime - Provider + handler registry for one host instance.
Functions§
- dispatch_
handler_ cache - Handler registry for the active dispatch context.
- dispatch_
provider - Provider for HTTP dispatch and
#[handler(inject)]factories.