The mediator is used to run a workflow across a number of Brighter handlers. It is influenced by AWS Step Functions. It provides orchestration instead of choreography when you have a flow of requests; as such it can make such workflows easier to manage.
(Other dotnet messaging frameworks call this is a saga; it is only really a saga in a distributed context, and we want to allow this to run both in and out of process).
The mediator is used to run a workflow across a number of Brighter handlers. It is influenced by AWS Step Functions. It provides orchestration instead of choreography when you have a flow of requests; as such it can make such workflows easier to manage.
(Other dotnet messaging frameworks call this is a saga; it is only really a saga in a distributed context, and we want to allow this to run both in and out of process).