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

# removeDocumentAwait

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

Remove a single matching document from a collection and return the handler with MongoClientDeleteResult result

### Parameters

`collection` - the collection

`query` - query used to match document

`resultHandler` - will be called when complete

Return