Module basic

Module basic 

Source

Structs§

BasicBuilder
The BasicBuilder helps you to create a BasicMediator.
BasicMediator
Basic mediator for synchronous environments with events of type Ev.

Traits§

BasicMediatorBuilderInterface
Basic builder fuctionality: Adding a Listener to the builder.
BuilderFlow
A BuilderFlow is generic over M which is the mediator that will be built by BuilderFlow::build().
BuilderInternal
Trait for creating a builder that implements BuilderFlow for a mediator M.
Listener
A Listener is a user-defined closure that is generic over its received event Ev. The closure handles the event and may act upon an event.
RequestHandler
Handles the request Req. Implemented by the user.
SyncMediatorInternal
Publish an event Ev from within a handler.
SyncMediatorInternalHandle
Send a request Req for processing to the mediator. This will call the handler.
SyncMediatorInternalNext
Process the next event Ev from the channel. This will call all listeners with a clone of that event.