Kotlin-Coroutines
本章整理Kotlin Coroutines(协程)的源码,API文档,以及Jetbrain官方文档,Google官方的Coroutine for Android文档资源。
源码
Jetbrain 官方
- Coroutines guide | Kotlin Documentation (kotlinlang.org)
- Coroutines basics | Kotlin Documentation (kotlinlang.org)
- Coroutines and channels − tutorial | Kotlin Documentation (kotlinlang.org)
- Cancellation and timeouts | Kotlin Documentation (kotlinlang.org)
- Composing suspending functions | Kotlin Documentation (kotlinlang.org)
- Coroutine context and dispatchers | Kotlin Documentation (kotlinlang.org)
- Asynchronous Flow | Kotlin Documentation (kotlinlang.org)
- Channels | Kotlin Documentation (kotlinlang.org)
- Coroutine exceptions handling | Kotlin Documentation (kotlinlang.org)
- Shared mutable state and concurrency | Kotlin Documentation (kotlinlang.org)
- Select expression (experimental) | Kotlin Documentation (kotlinlang.org)
- Debug coroutines using IntelliJ IDEA – tutorial | Kotlin Documentation (kotlinlang.org)
- Debug Kotlin Flow using IntelliJ IDEA – tutorial | Kotlin Documentation (kotlinlang.org)
Android上的Kotlin携程
Kotlin 协程
- Kotlin coroutines on Android | Android Developers (google.cn)
- Improve app performance with Kotlin coroutines | Android Developers (google.cn)
- Testing Kotlin coroutines on Android | Android Developers (google.cn)
- Best practices for coroutines in Android | Kotlin | Android Developers (google.cn)
- Additional resources for Kotlin coroutines and flow | Android Developers (google.cn)
Kotlin数据流
- Kotlin flows on Android | Android Developers (google.cn)
- Testing Kotlin flows on Android | Android Developers (google.cn)
- StateFlow and SharedFlow | Kotlin | Android Developers (google.cn)
实例
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 墨香博客!