[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-7164":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":7,"languages":10,"totalLinesOfCode":10,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":23,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":28,"readmeContent":29,"aiSummary":30,"trendingCount":15,"starSnapshotCount":15,"syncStatus":31,"lastSyncTime":32,"discoverSource":33},7164,"kotlinx.coroutines","Kotlin\u002Fkotlinx.coroutines","Kotlin","Library support for Kotlin coroutines ","",null,13771,1932,289,296,0,4,32,3,44.86,"Apache License 2.0",false,"master",true,[25,26,27],"async","coroutines","kotlin","2026-06-12 02:01:35","# kotlinx.coroutines \n\n[![Kotlin Stable](https:\u002F\u002Fkotl.in\u002Fbadges\u002Fstable.svg)](https:\u002F\u002Fkotlinlang.org\u002Fdocs\u002Fcomponents-stability.html)\n[![JetBrains official project](https:\u002F\u002Fjb.gg\u002Fbadges\u002Fofficial.svg)](https:\u002F\u002Fconfluence.jetbrains.com\u002Fdisplay\u002FALL\u002FJetBrains+on+GitHub)\n[![GitHub license](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-Apache%20License%202.0-blue.svg?style=flat)](https:\u002F\u002Fwww.apache.org\u002Flicenses\u002FLICENSE-2.0)\n[![Download](https:\u002F\u002Fimg.shields.io\u002Fmaven-central\u002Fv\u002Forg.jetbrains.kotlinx\u002Fkotlinx-coroutines-core\u002F1.11.0-rc02)](https:\u002F\u002Fcentral.sonatype.com\u002Fartifact\u002Forg.jetbrains.kotlinx\u002Fkotlinx-coroutines-core\u002F1.11.0-rc02)\n[![Kotlin](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fkotlin-2.2.20-blue.svg?logo=kotlin)](http:\u002F\u002Fkotlinlang.org)\n[![KDoc link](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FAPI_reference-KDoc-blue)](https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002F)\n[![Slack channel](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fchat-slack-green.svg?logo=slack)](https:\u002F\u002Fkotlinlang.slack.com\u002Fmessages\u002Fcoroutines\u002F)\n\nLibrary support for Kotlin coroutines with [multiplatform](#multiplatform) support.\nThis is a companion version for the Kotlin `2.2.20` release.\n\n```kotlin\nsuspend fun main() = coroutineScope {\n    launch { \n       delay(1.seconds)\n       println(\"Kotlin Coroutines World!\") \n    }\n    println(\"Hello\")\n}\n```\n\n> Play with coroutines online [here](https:\u002F\u002Fpl.kotl.in\u002FxdbDf0NNk)\n\n## Modules\n\n* [core](kotlinx-coroutines-core\u002FREADME.md) &mdash; common coroutines across all platforms:\n  * [launch] and [async] coroutine builders returning [Job] and [Deferred] light-weight futures with cancellation support;\n  * [Dispatchers] object with [Main][Dispatchers.Main] dispatcher for Android\u002FSwing\u002FJavaFx (which require the corresponding artifacts in runtime) and Darwin (included out of the box), and [Default][Dispatchers.Default] dispatcher for background coroutines;\n  * [delay] and [yield] top-level suspending functions;\n  * [Flow] &mdash; cold asynchronous stream with [flow][_flow] builder and comprehensive operator set ([filter], [map], etc);\n  * [Channel], [Mutex], and [Semaphore] communication and synchronization primitives;\n  * [coroutineScope][_coroutineScope], [supervisorScope][_supervisorScope], [withContext], and [withTimeout] scope builders;\n  * [MainScope()] for Android and UI applications;\n  * [SupervisorJob()] and [CoroutineExceptionHandler] for supervision of coroutines hierarchies;\n  * [select] expression support and more.\n* [core\u002Fjvm](kotlinx-coroutines-core\u002Fjvm\u002F) &mdash; additional core features available on Kotlin\u002FJVM:\n  * [Dispatchers.IO] dispatcher for blocking coroutines;\n  * [Executor.asCoroutineDispatcher][asCoroutineDispatcher] extension, custom thread pools, and more;\n  * Integrations with `CompletableFuture` and JVM-specific extensions.\n* [core\u002Fweb](kotlinx-coroutines-core\u002Fweb\u002F) &mdash; additional core features available on Kotlin\u002FJS and Kotlin\u002FWasm\u002FJS:\n  * Integration with `Promise` via `Promise.await` and [promise] builder.\n* [core\u002Fjs](kotlinx-coroutines-core\u002Fjs\u002F) &mdash; additional core features available on Kotlin\u002FJS:\n  * Integration with `Window` via [Window.asCoroutineDispatcher], etc.\n* [test](kotlinx-coroutines-test\u002FREADME.md) &mdash; test utilities for coroutines:\n  * [Dispatchers.setMain] to override [Dispatchers.Main] in tests;\n  * [runTest] and [TestScope] to test suspending functions and coroutines.\n* [debug](kotlinx-coroutines-debug\u002FREADME.md) &mdash; debug utilities for coroutines:\n  * [DebugProbes] API to probe, keep track of, print and dump active coroutines;\n  * [CoroutinesTimeout] test rule to automatically dump coroutines on test timeout.\n  * Automatic integration with [BlockHound](https:\u002F\u002Fgithub.com\u002Freactor\u002FBlockHound).\n* [reactive](reactive\u002FREADME.md) &mdash; modules that provide builders and iteration support for various reactive streams libraries:\n  * Reactive Streams ([Publisher.collect], [Publisher.awaitSingle], [kotlinx.coroutines.reactive.publish], etc), \n  * Flow (JDK 9) (the same interface as for Reactive Streams),\n  * RxJava 2.x ([rxFlowable], [rxSingle], etc), and\n  * RxJava 3.x ([rxFlowable], [rxSingle], etc), and\n  * Project Reactor ([flux], [mono], etc).\n* [ui](ui\u002FREADME.md) &mdash; modules that provide the [Main][Dispatchers.Main] dispatcher for various single-threaded UI libraries:\n  * Android, JavaFX, and Swing.\n* [integration](integration\u002FREADME.md) &mdash; modules that provide integration with various asynchronous callback- and future-based libraries:\n  * Guava [ListenableFuture.await], and Google Play Services [Task.await];\n  * SLF4J MDC integration via [MDCContext].\n\n## Documentation\n\n* Presentations and videos:\n  * [Kotlin Coroutines in Practice](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=a3agLJQ6vt8) (Roman Elizarov at KotlinConf 2018, [slides](https:\u002F\u002Fwww.slideshare.net\u002Felizarov\u002Fkotlin-coroutines-in-practice-kotlinconf-2018))\n  * [Deep Dive into Coroutines](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=YrrUCSi72E8) (Roman Elizarov at KotlinConf 2017, [slides](https:\u002F\u002Fwww.slideshare.net\u002Felizarov\u002Fdeep-dive-into-coroutines-on-jvm-kotlinconf-2017))\n  * [History of Structured Concurrency in Coroutines](https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=Mj5P47F6nJg) (Roman Elizarov at Hydra 2019, [slides](https:\u002F\u002Fspeakerdeck.com\u002Felizarov\u002Fstructured-concurrency))\n* Guides and manuals: \n  * [Guide to kotlinx.coroutines by example](https:\u002F\u002Fkotlinlang.org\u002Fdocs\u002Fcoroutines-guide.html) (**read it first**)\n  * [Guide to UI programming with coroutines](ui\u002Fcoroutines-guide-ui.md)\n  * [Debugging capabilities in kotlinx.coroutines](docs\u002Ftopics\u002Fdebugging.md)\n* [Compatibility policy and experimental annotations](docs\u002Ftopics\u002Fcompatibility.md)\n* [Change log for kotlinx.coroutines](CHANGES.md)\n* [Coroutines design document (KEEP)](https:\u002F\u002Fgithub.com\u002FKotlin\u002FKEEP\u002Fblob\u002Fmaster\u002Fproposals\u002Fcoroutines.md)\n* [Full kotlinx.coroutines API reference](https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002F)\n \n## Using in your projects\n\n### Maven\n\nAdd dependencies (you can also add other modules that you need):\n\n```xml\n\u003Cdependency>\n    \u003CgroupId>org.jetbrains.kotlinx\u003C\u002FgroupId>\n    \u003CartifactId>kotlinx-coroutines-core\u003C\u002FartifactId>\n    \u003Cversion>1.11.0-rc02\u003C\u002Fversion>\n\u003C\u002Fdependency>\n```\n\nAnd make sure that you use the latest Kotlin version:\n\n```xml\n\u003Cproperties>\n    \u003Ckotlin.version>2.2.20\u003C\u002Fkotlin.version>\n\u003C\u002Fproperties>\n```\n\n### Gradle\n\nAdd dependencies (you can also add other modules that you need):\n\n```kotlin\ndependencies {\n    implementation(\"org.jetbrains.kotlinx:kotlinx-coroutines-core:1.11.0-rc02\")\n}\n```\n\nAnd make sure that you use the latest Kotlin version:\n\n```kotlin\nplugins {\n    \u002F\u002F For build.gradle.kts (Kotlin DSL)\n    kotlin(\"jvm\") version \"2.2.20\"\n    \n    \u002F\u002F For build.gradle (Groovy DSL)\n    id \"org.jetbrains.kotlin.jvm\" version \"2.2.20\"\n}\n```\n\nMake sure that you have `mavenCentral()` in the list of repositories:\n\n```kotlin\nrepositories {\n    mavenCentral()\n}\n```\n\n### Android\n\nAdd [`kotlinx-coroutines-android`](ui\u002Fkotlinx-coroutines-android)\nmodule as a dependency when using `kotlinx.coroutines` on Android:\n\n```kotlin\nimplementation(\"org.jetbrains.kotlinx:kotlinx-coroutines-android:1.11.0-rc02\")\n```\n\nThis gives you access to the Android [Dispatchers.Main]\ncoroutine dispatcher and also makes sure that in case of a crashed coroutine with an unhandled exception that\nthis exception is logged before crashing the Android application, similarly to the way uncaught exceptions in\nthreads are handled by the Android runtime.\n\n#### R8 and ProGuard\n\nR8 and ProGuard rules are bundled into the [`kotlinx-coroutines-android`](ui\u002Fkotlinx-coroutines-android) module.\nFor more details see [\"Optimization\" section for Android](ui\u002Fkotlinx-coroutines-android\u002FREADME.md#optimization).\n\n#### Avoiding including the debug infrastructure in the resulting APK\n\nThe `kotlinx-coroutines-core` artifact contains a resource file that is not required for the coroutines to operate\nnormally and is only used by the debugger. To exclude it at no loss of functionality, add the following snippet to the\n`android` block in your Gradle file for the application subproject:\n\n```kotlin\npackagingOptions {\n    resources.excludes += \"DebugProbesKt.bin\"\n}\n```\n\n### Multiplatform\n\nCore modules of `kotlinx.coroutines` are also available for \n[Kotlin\u002FJS](https:\u002F\u002Fkotlinlang.org\u002Fdocs\u002Freference\u002Fjs-overview.html) and [Kotlin\u002FNative](https:\u002F\u002Fkotlinlang.org\u002Fdocs\u002Freference\u002Fnative-overview.html).\n\nIn common code that should get compiled for different platforms, you can add a dependency to `kotlinx-coroutines-core` right to the `commonMain` source set:\n\n```kotlin\ncommonMain {\n    dependencies {\n        implementation(\"org.jetbrains.kotlinx:kotlinx-coroutines-core:1.11.0-rc02\")\n    }\n}\n```\n\nPlatform-specific dependencies are recommended to be used only for non-multiplatform projects that are compiled only for target platform.\n\n#### JS\n\nKotlin\u002FJS version of `kotlinx.coroutines` is published as \n[`kotlinx-coroutines-core-js`](https:\u002F\u002Fcentral.sonatype.com\u002Fartifact\u002Forg.jetbrains.kotlinx\u002Fkotlinx-coroutines-core-js\u002F1.11.0-rc02)\n(follow the link to get the dependency declaration snippet).\n\n#### Native\n\nKotlin\u002FNative version of `kotlinx.coroutines` is published as \n[`kotlinx-coroutines-core-$platform`](https:\u002F\u002Fcentral.sonatype.com\u002Fsearch?q=kotlinx-coroutines-core&namespace=org.jetbrains.kotlinx) where `$platform` is \nthe target Kotlin\u002FNative platform. \nTargets are provided in accordance with [official K\u002FN target support](https:\u002F\u002Fkotlinlang.org\u002Fdocs\u002Fnative-target-support.html).\n## Building and Contributing\n\nSee [Contributing Guidelines](CONTRIBUTING.md).\n\n\u003C!--- MODULE kotlinx-coroutines-core -->\n\u003C!--- INDEX kotlinx.coroutines -->\n\n[launch]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-core\u002Fkotlinx.coroutines\u002Flaunch.html\n[async]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-core\u002Fkotlinx.coroutines\u002Fasync.html\n[Job]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-core\u002Fkotlinx.coroutines\u002F-job\u002Findex.html\n[Deferred]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-core\u002Fkotlinx.coroutines\u002F-deferred\u002Findex.html\n[Dispatchers]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-core\u002Fkotlinx.coroutines\u002F-dispatchers\u002Findex.html\n[Dispatchers.Main]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-core\u002Fkotlinx.coroutines\u002F-dispatchers\u002F-main.html\n[Dispatchers.Default]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-core\u002Fkotlinx.coroutines\u002F-dispatchers\u002F-default.html\n[delay]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-core\u002Fkotlinx.coroutines\u002Fdelay.html\n[yield]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-core\u002Fkotlinx.coroutines\u002Fyield.html\n[_coroutineScope]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-core\u002Fkotlinx.coroutines\u002Fcoroutine-scope.html\n[_supervisorScope]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-core\u002Fkotlinx.coroutines\u002Fsupervisor-scope.html\n[withContext]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-core\u002Fkotlinx.coroutines\u002Fwith-context.html\n[withTimeout]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-core\u002Fkotlinx.coroutines\u002Fwith-timeout.html\n[MainScope()]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-core\u002Fkotlinx.coroutines\u002F-main-scope.html\n[SupervisorJob()]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-core\u002Fkotlinx.coroutines\u002F-supervisor-job.html\n[CoroutineExceptionHandler]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-core\u002Fkotlinx.coroutines\u002F-coroutine-exception-handler\u002Findex.html\n[Dispatchers.IO]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-core\u002Fkotlinx.coroutines\u002F-i-o.html\n[asCoroutineDispatcher]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-core\u002Fkotlinx.coroutines\u002Fas-coroutine-dispatcher.html\n[promise]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-core\u002Fkotlinx.coroutines\u002Fpromise.html\n[Window.asCoroutineDispatcher]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-core\u002Fkotlinx.coroutines\u002Fas-coroutine-dispatcher.html\n\n\u003C!--- INDEX kotlinx.coroutines.flow -->\n\n[Flow]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-core\u002Fkotlinx.coroutines.flow\u002F-flow\u002Findex.html\n[_flow]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-core\u002Fkotlinx.coroutines.flow\u002Fflow.html\n[filter]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-core\u002Fkotlinx.coroutines.flow\u002Ffilter.html\n[map]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-core\u002Fkotlinx.coroutines.flow\u002Fmap.html\n\n\u003C!--- INDEX kotlinx.coroutines.channels -->\n\n[Channel]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-core\u002Fkotlinx.coroutines.channels\u002F-channel\u002Findex.html\n\n\u003C!--- INDEX kotlinx.coroutines.selects -->\n\n[select]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-core\u002Fkotlinx.coroutines.selects\u002Fselect.html\n\n\u003C!--- INDEX kotlinx.coroutines.sync -->\n\n[Mutex]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-core\u002Fkotlinx.coroutines.sync\u002F-mutex\u002Findex.html\n[Semaphore]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-core\u002Fkotlinx.coroutines.sync\u002F-semaphore\u002Findex.html\n\n\u003C!--- MODULE kotlinx-coroutines-test -->\n\u003C!--- INDEX kotlinx.coroutines.test -->\n\n[Dispatchers.setMain]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-test\u002Fkotlinx.coroutines.test\u002Fset-main.html\n[runTest]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-test\u002Fkotlinx.coroutines.test\u002Frun-test.html\n[TestScope]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-test\u002Fkotlinx.coroutines.test\u002F-test-scope\u002Findex.html\n\n\u003C!--- MODULE kotlinx-coroutines-debug -->\n\u003C!--- INDEX kotlinx.coroutines.debug -->\n\n[DebugProbes]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-debug\u002Fkotlinx.coroutines.debug\u002F-debug-probes\u002Findex.html\n\n\u003C!--- INDEX kotlinx.coroutines.debug.junit4 -->\n\n[CoroutinesTimeout]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-debug\u002Fkotlinx.coroutines.debug.junit4\u002F-coroutines-timeout\u002Findex.html\n\n\u003C!--- MODULE kotlinx-coroutines-slf4j -->\n\u003C!--- INDEX kotlinx.coroutines.slf4j -->\n\n[MDCContext]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-slf4j\u002Fkotlinx.coroutines.slf4j\u002F-m-d-c-context\u002Findex.html\n\n\u003C!--- MODULE kotlinx-coroutines-jdk8 -->\n\u003C!--- INDEX kotlinx.coroutines.future -->\n\u003C!--- MODULE kotlinx-coroutines-guava -->\n\u003C!--- INDEX kotlinx.coroutines.guava -->\n\n[ListenableFuture.await]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-guava\u002Fkotlinx.coroutines.guava\u002Fawait.html\n\n\u003C!--- MODULE kotlinx-coroutines-play-services -->\n\u003C!--- INDEX kotlinx.coroutines.tasks -->\n\n[Task.await]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-play-services\u002Fkotlinx.coroutines.tasks\u002Fawait.html\n\n\u003C!--- MODULE kotlinx-coroutines-reactive -->\n\u003C!--- INDEX kotlinx.coroutines.reactive -->\n\n[Publisher.collect]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-reactive\u002Fkotlinx.coroutines.reactive\u002Fcollect.html\n[Publisher.awaitSingle]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-reactive\u002Fkotlinx.coroutines.reactive\u002Fawait-single.html\n[kotlinx.coroutines.reactive.publish]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-reactive\u002Fkotlinx.coroutines.reactive\u002Fpublish.html\n\n\u003C!--- MODULE kotlinx-coroutines-rx2 -->\n\u003C!--- INDEX kotlinx.coroutines.rx2 -->\n\n[rxFlowable]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-rx2\u002Fkotlinx.coroutines.rx2\u002Frx-flowable.html\n[rxSingle]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-rx2\u002Fkotlinx.coroutines.rx2\u002Frx-single.html\n\n\u003C!--- MODULE kotlinx-coroutines-rx2 -->\n\u003C!--- INDEX kotlinx.coroutines.rx2 -->\n\u003C!--- MODULE kotlinx-coroutines-reactor -->\n\u003C!--- INDEX kotlinx.coroutines.reactor -->\n\n[flux]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-reactor\u002Fkotlinx.coroutines.reactor\u002Fflux.html\n[mono]: https:\u002F\u002Fkotlinlang.org\u002Fapi\u002Fkotlinx.coroutines\u002Fkotlinx-coroutines-reactor\u002Fkotlinx.coroutines.reactor\u002Fmono.html\n\n\u003C!--- END -->\n","kotlinx.coroutines 是一个为 Kotlin 协程提供库支持的项目，旨在简化异步编程和并发处理。其核心功能包括轻量级的 future 机制、支持取消操作的 launch 和 async 构造器、跨平台调度器（如 Main 和 Default）、延迟与让步函数、冷异步流 Flow 以及多种通信和同步原语。此外，它还提供了丰富的范围构建器以帮助管理协程生命周期，并且针对 JVM、JS 及 WebAssembly 等不同平台做了优化扩展。该项目非常适合需要高效执行非阻塞 I\u002FO 操作或复杂并发任务的应用场景，特别是在 Android 开发及后端服务中使用 Kotlin 语言时。",2,"2026-06-11 03:10:54","top_language"]