我是 kotlin 协程的新手,我看到一些 api 用 @InternalCoroutinesApi
进行了注释。 .
从官方文档它说
it should not be used outside of
kotlinx.coroutines
我无法清楚地理解它们的含义。
谁能详细说明一下?
最佳答案
这个注解
marks declarations that are internal in coroutines API, which means that should not be used outside of kotlinx.coroutines, because their signatures and semantics will change between future releases without any warnings and without providing any migration aids.
来源:https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-internal-coroutines-api/
关于kotlin - InternalCoroutinesApi注解是什么意思,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61229037/