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

# removeDocumentsWithOptionsAwait

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

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

### Parameters

`collection` - the collection

`query` - query used to match documents

`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.