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

# removeDocumentWithOptionsAwait

`suspend fun MongoClient.removeDocumentWithOptionsAwait(collection: String, query: JsonObject, writeOption: WriteOption?): MongoClientDeleteResult?`

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

### Parameters

`collection` - the collection

`query` - query used to match document

`writeOption` - the write option to use

Return

MongoClientDeleteResult?

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