    

 ## On this page

  

 

 # setRunInParallel

 Last update: 16.07.2025 

abstract fun [setRunInParallel](set-run-in-parallel.md)(runInParallel: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html))

Set whether runs should be in parallel; this is only a hint.

#### Parameters

runInParallelwhether runs should be run in parallel#### Throws

[IllegalStateException](https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html)if the value cannot be set currently