EventDriven.EventBus.Dapr
EventDriven.EventBus.Dapr copied to clipboard
Event Handlers Singleton only?
Nice library. Am I reading the code correctly? It appears Event Handlers must be singletons and other lifetimes are not supported.
Currently the lifetime of the event bus is Singleton, but it would not be difficult to add a parameter to specify other lifetimes. I'm happy to add this.
I will add this to the next version.