![]() |
CQRS.NET
4.0
A lightweight enterprise Function as a Service (FaaS) framework to write function based serverless and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.
|
void Cqrs.Akka.Events.AkkaEventBus< TAuthenticationToken >.RegisterHandler< TMessage > | ( | Action< TMessage > | handler, |
Type | targetedType, | ||
bool | holdMessageLock = true |
||
) |
Register an event or command handler that will listen and respond to events or commands.
In many cases the targetedType will be the event handler class itself, what you actually want is the target of what is being updated
Implements Cqrs.Bus.IHandlerRegistrar.
TMessage | : | IMessage |