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 pipeline (typed behaviors inside, legacy erased behaviors outside), and invokes the handler.

Functions§

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