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 IPipelineBehavior chain, and invokes the handler through the type-erased call bridge.

Functionsยง

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