IntelliJ Platform Plugin SDK
 
IntelliJ Platform Explorer

Coroutine Dispatchers

Edit pageLast modified: 26 February 2025

Coroutines are always executed in a context represented by CoroutineContext. One of the most important parts of the context is a dispatcher, which determines what thread or thread pool the corresponding coroutine is executed on.

In the IntelliJ Platform, coroutines are executed on three main dispatchers: