Chúng tôi không thể tìm thấy kết nối internet
Đang cố gắng kết nối lại
Có lỗi xảy ra!
Hãy kiên nhẫn trong khi chúng tôi khắc phục sự cố
Coroutines: Tính đồng thời trong Kotlin
Tóm tắt nội dung
Mô tả
In this presentation, I give an overview of coroutines in Kotlin, including the basics of coroutines, how they can be used for concurrency and parallelism, and how structured concurrency helps ensure coroutines are cleaned up in response to cancellations and exceptions.
The content for this presentation is largely based on chapter 20 of Kotlin: An Illustrated Guide, which you can read online here: https://typealias.com/start/kotlin-coroutines/. You can also purchase the Leanpub edition here: https://book.typealias.com.
✨ New to Kotlin? Start your journey here: https://typealias.com/start/
🚀 Get the inside scoop on everything I'm working on - join my new email newsletter!
Sign up here: https://newsletter.typealias.com/
🎞️ Chapters in this video
00:00 - Coroutine Basics
12:25 - Sequential Code
15:04 - Concurrency
18:06 - Parallelism
22:57 - Cancellation
25:53 - Partial Cancellation
27:41 - Exceptions
29:39 - The End
Dịch Vào Lúc: 2025-03-04T05:52:42Z