poolSize

open fun poolSize(poolSize: Int): TaskSchedulerBuilder

Set the maximum allowed number of threads.

Return

a new builder instance

Parameters

poolSize

the pool size to set