vertx / io.vertx.kotlin.ext.mongo / aggregateOptionsOf

# aggregateOptionsOf

`fun aggregateOptionsOf(allowDiskUse: Boolean? = null, batchSize: Int? = null, maxTime: Long? = null): AggregateOptions`

A function providing a DSL for building io.vertx.ext.mongo.AggregateOptions objects.

Options used to configure aggregate operations.

### Parameters

`allowDiskUse` - Set the flag if writing to temporary files is enabled.

`batchSize` - Set the batch size for methods loading found data in batches.

`maxTime` - Set the time limit in milliseconds for processing operations on a cursor.