![]()  | 
  
    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.Bus.RouteManager.RegisterHandler< TMessage > | ( | Action< TMessage > | handler, | 
| bool | holdMessageLock = true  | 
        ||
| ) | 
Register an event or command handler that will listen and respond to events or commands.
Implements Cqrs.Bus.IHandlerRegistrar.
| TMessage | : | IMessage |