vertx / io.vertx.kotlin.ext.shell.command / io.vertx.ext.shell.command.CommandRegistry / registerCommandAwait

registerCommandAwait

suspend fun CommandRegistry.registerCommandAwait(command: Command): Command

Register a command

Parameters

command - the command to register

completionHandler - notified when the command is registered

Returna
reference to this, so the API can be used fluently *