vertx / io.vertx.core / VertxOptions / setWorkerPoolSize

setWorkerPoolSize

open fun setWorkerPoolSize(workerPoolSize: Int): VertxOptions

Set the maximum number of worker threads to be used by the Vert.x instance.

Parameters

workerPoolSize - the number of threads

Return
a reference to this, so the API can be used fluently