Skip to main content

Module dispatch

Module dispatch 

Source
Expand description

Shared request dispatch used by Mediator::send and HTTP endpoint adapters.

Looks up the HandlerRegistration (collected via #[handler]) by request type, creates a per-request DI scope, runs the typed IPipelineBehavior chain, and invokes the handler through the type-erased call bridge.

Functions§

dispatch
Dispatch a request through the handler registry, typed pipeline and call bridge.