Robotico.Events.InMemory 0.1.3
Robotico.Events.InMemory
In-memory IEventDispatcher implementation that invokes a single delegate per event. Depends on Robotico.Events, Robotico.Result.
When to use
For tests and single-process scenarios only. For production with Mediator-based routing, use Robotico.Events.Mediator.
Register a handler delegate (sync or async). When DispatchAsync is called, the handler is invoked; if it returns a failed result or throws, that result or an ExceptionError is returned.
License
See repository license file.
No packages depend on Robotico.Events.InMemory.
.NET 8.0
- Robotico.Events (>= 1.0.2)
- Robotico.Result (>= 1.0.2)
.NET 10.0
- Robotico.Events (>= 1.0.2)
- Robotico.Result (>= 1.0.2)