Komtet / mediator

A library implements the Mediator pattern to make your code extensible
MIT License
19 stars 3 forks source link

Add pipeline behaviors to wrap listeners, when needed #10

Open megafetis opened 4 years ago

megafetis commented 4 years ago

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)