vertx / io.vertx.kotlin.ext.mongo / io.vertx.ext.mongo.MongoClient / runCommandAwait

# runCommandAwait

`suspend fun MongoClient.runCommandAwait(commandName: String, command: JsonObject): JsonObject?`

Suspending version of method io.vertx.ext.mongo.MongoClient.runCommand

### Parameters

`commandName` - the name of the command

`command` - the command

Return

JsonObject?

NOTE: This function has been automatically generated from io.vertx.ext.mongo.MongoClient using Vert.x codegen.