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; there is no process-wide fallback in 0.10 — code that runs
outside HTTP dispatch (in-process Mediator::send, tests, background work)
must enter a runtime explicitly with DispatchRuntime::run.
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.