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

# saveWithOptionsAwait

`suspend fun MongoClient.saveWithOptionsAwait(collection: String, document: JsonObject, writeOption: WriteOption): String?`

Save a document in the specified collection with the specified write option

### Parameters

`collection` - the collection

`document` - the document

`writeOption` - the write option to use

Return