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.

◆ ManuallyRegisterCommandHandler< TMessage >()

virtual void Cqrs.Hosts.CoreHost< TAuthenticationToken >.ManuallyRegisterCommandHandler< TMessage > ( Action< TMessage >  commandHandler,
bool  holdMessageLock = true 
)
protectedvirtual

Register an command handler that will listen and respond to commands.

Parameters
commandHandlerThe command handler to call
holdMessageLockIf 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.
Type Constraints
TMessage :IMessage