suspend fun CommandRegistry.registerCommandAwait(command: Command): Command
Register a command
command
- the command to register
completionHandler
- notified when the command is registered
Returna
reference to this, so the API can be used fluently *