From a888f5c7cffec237cf4a60582389e36f10aed4cb Mon Sep 17 00:00:00 2001 From: Kuyho Chung Date: Thu, 15 Aug 2024 01:58:57 +0900 Subject: [PATCH] docs: corrected the definition of coroutines --- src/main/antora/modules/ROOT/pages/kotlin/coroutines.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/antora/modules/ROOT/pages/kotlin/coroutines.adoc b/src/main/antora/modules/ROOT/pages/kotlin/coroutines.adoc index cd9178eff9..b02f1191bb 100644 --- a/src/main/antora/modules/ROOT/pages/kotlin/coroutines.adoc +++ b/src/main/antora/modules/ROOT/pages/kotlin/coroutines.adoc @@ -1,7 +1,7 @@ [[kotlin.coroutines]] = Coroutines -Kotlin https://kotlinlang.org/docs/reference/coroutines-overview.html[Coroutines] are lightweight threads allowing to write non-blocking code imperatively. +Kotlin https://kotlinlang.org/docs/reference/coroutines-overview.html[Coroutines] are instances of suspendable computations allowing to write non-blocking code imperatively. On language side, `suspend` functions provides an abstraction for asynchronous operations while on library side https://github.com/Kotlin/kotlinx.coroutines[kotlinx.coroutines] provides functions like https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/async.html[`async { }`] and types like https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.flow/-flow/index.html[`Flow`]. Spring Data modules provide support for Coroutines on the following scope: