From 56677722ede716733f9f3b17564fd4025512739c Mon Sep 17 00:00:00 2001 From: Karol Lewandowski Date: Fri, 14 Feb 2025 11:04:56 +0100 Subject: [PATCH] kotlin_coroutines.md: Coroutines are not a direct alternative to threads, but an abstraction over threads --- .../architectural_overview/coroutines/kotlin_coroutines.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/topics/basics/architectural_overview/coroutines/kotlin_coroutines.md b/topics/basics/architectural_overview/coroutines/kotlin_coroutines.md index 486dd1236..94d26f59a 100644 --- a/topics/basics/architectural_overview/coroutines/kotlin_coroutines.md +++ b/topics/basics/architectural_overview/coroutines/kotlin_coroutines.md @@ -1,4 +1,4 @@ - + # Kotlin Coroutines @@ -8,7 +8,7 @@ The IntelliJ Platform is a multithreading environment that executes many asynchronous and non-blocking tasks to avoid UI freezes. These tasks are usually executed in background threads, which is a standard approach in the JVM world. -Since version 1.1, [Kotlin](using_kotlin.md) has introduced coroutines as a lightweight and easy to implement alternative to threads. +Since version 1.1, [Kotlin](using_kotlin.md) has introduced coroutines as a lightweight and easy to implement abstraction over threads. The IntelliJ Platform started adapting coroutines in its APIs and internal code, and since 2024.1 it is recommended to use the coroutines approach over threads. > Plugins _must_ use the bundled Kotlin Coroutines library, see [](using_kotlin.md#coroutinesLibraries).