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

# bulkWriteAwait

`suspend fun MongoClient.bulkWriteAwait(collection: String, operations: List<BulkOperation>): MongoClientBulkWriteResult`

Execute a bulk operation. Can insert, update, replace, and/or delete multiple documents with one request.

### Parameters

`collection` - the collection

`operations` - the operations to execute

`resultHandler` - will be called with a io.vertx.ext.mongo.MongoClientBulkWriteResult when complete

Return