From 4c33532f2c9b9661b92047bd39cd09210c6bdf16 Mon Sep 17 00:00:00 2001 From: Kuyho Chung Date: Thu, 15 Aug 2024 21:21:04 +0900 Subject: [PATCH] Corrected the definition of coroutines. Closes #3136 --- 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 cd9178eff..b02f1191b 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: