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

# removeDocumentAwait

`suspend fun MongoClient.removeDocumentAwait(collection: String, query: JsonObject): MongoClientDeleteResult`

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

### Parameters

`collection` - the collection

`query` - query used to match document

Return

MongoClientDeleteResult

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