    

 ## On this page

  

 

 # getNumThreads

 Last update: 30.07.2026 

public [getNumThreads](get-num-threads.md)(): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)

Gets the number of threads to be used when processing a job in parallel

#### Return

the number of threads to use