Is it possible to add pipeline behaviors (or preprocessors and postprocessors) to wrap listeners, when it needed?
It useful to add validation or security check before run listener function
It useful to automatic log some of events after run listener function and deal with result
Is it possible to add pipeline behaviors (or preprocessors and postprocessors) to wrap listeners, when it needed? It useful to add validation or security check before run listener function It useful to automatic log some of events after run listener function and deal with result
Example from .NET (C#) is MediatR (https://github.com/jbogard/MediatR)