Skip to main content

Module mediator

Module mediator 

Source
Expand description

Mediator traits: IMediator, IRequest, IEventRequest.

Re-exports§

pub use default::Mediator;
pub use dispatch::dispatch;
pub use pipeline::build_chain as build_pipeline_chain;

Modules§

default
IMediator implementation.
dispatch
Shared request dispatch used by Mediator::send and HTTP endpoint adapters.
pipeline
Pipeline behavior chain construction.

Traits§

IEventRequest
Marker trait for an event (notification) that does not produce a response.
IMediator
The mediator dispatches requests to their handlers and publishes events to all registered handlers.
IRequest
Marker trait for a request (command or query) carrying a structured response TResponse.