Middleware to process and register modules as command handlers.
The configuration context containing the modules and blueprint.
The next middleware in the pipeline to call.
The updated blueprint or a promise resolving to it.
Middleware to process and register modules as command handlers.