Available on crate feature
async only.Structs§
- Basic
Async Builder - The
BasicAsyncBuilderhelps you to create aBasicAsyncMediator. - Basic
Async Mediator - Basic async mediator for asynchronous environments with events of type
Ev.
Traits§
- Async
Mediator Internal - Publish an event
Evasynchronously from within a handler. - Async
Mediator Internal Handle - Send a request
Reqasynchronously for processing to the mediator. This will call the handler. - Async
Mediator Internal Next - Process the next event
Evfrom the channel asynchronously. This will call all listeners with a clone of that event. - Async
Request Handler - Handles the request
Reqasynchronously. Implemented by the user. - Builder
Flow - A
BuilderFlowis generic overMwhich is the mediator that will be built byBuilderFlow::build(). - Builder
Internal - Trait for creating a builder
that implements
BuilderFlowfor a mediatorM. - Listener
- A
Listeneris a user-defined closure that is generic over its received eventEv. The closure handles the event and may act upon an event.