suspend fun CommandRegistry.registerCommandAwait(command: Command): Command
Register a command |
|
suspend fun CommandRegistry.registerCommandsAwait(commands: List<Command>): List<Command>
Register a list of commands. |
|
suspend fun CommandRegistry.unregisterCommandAwait(commandName: String): Unit
Unregister a command. |