org.jetbrains.kotlinx:kotlinx-coroutines-android vs org.jetbrains.kotlinx:kotlinx-coroutines-android:* - 本机-mt

发布于 2025-02-04 03:02:13 字数 757 浏览 2 评论 0 原文

Android开发的新手,这两个库之间我感到困惑,以及为什么我想要一个库。我已经回顾了以下内容:

本机Mt和正常Kotlin之间有什么不同coroutine lib?

coroutines的多线程版本

我仍然不清楚。适用于仅Android项目。据我了解,本机MT适用于本地,那么为什么可以适合Android?

谢谢。

New to Android development and I’m confused between these two libraries and why I would want one over the other for Android. I’ve reviewed the following:

https://kotlinlang.org/docs/multiplatform-mobile-concurrency-and-coroutines.html#multithreaded-coroutines

https://blog.jetbrains.com/kotlin/2021/12/introducing-kotlinx-coroutines-1-6-0/

What's the different between native-mt and normal kotlin coroutine lib?

Multithreaded version of coroutines

It’s still not clear to me how this applies to an Android-only project. As I understand it, native-mt applies to Native, so why is this available for Android?

Thank you.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文