![]()  | 
  
    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. 
   | 
 
      
  | 
  protectedvirtual | 
Register an event handler that will listen and respond to events.
| eventHandler | The event handler to call | 
| holdMessageLock | If false, this will spin off another thread. This is a bad performance impact. Strongly suggest you use lock renewing instead... which is configuration based... so even better. | 
| TMessage | : | IMessage |