-
-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rewrite async modules to non-experimental coroutines #154
Comments
|
@czyzby Now that coroutines are 1.0, could you please take a look at this again? |
@lokeshj Sure, but probably no sooner than this weekend. |
|
I know it is likely to be solved when you'll rewrite the Example: ktxAsync {
val texture1 = async { assetStoreage.load<Texture>("texture1.png") }
val texture2 = async { assetStoreage.load<Texture>("texture2.png") }
addScreen(MyScreen(texture1.await(), texture2.await())
setScreen<MyScreen>()
} With the code above, I experienced visual glitch like inverted textures, or getting only partial or scaled texture. Removing usages of Thread safety is an implicit contract of any |
I know, the new solution uses a single |
Just wanted to let you know that I'm currently dealing with work and the end of semester at my uni, so I had to postpone this "a little". I should be done in a few weeks. |
@jcornaz I finished the documentation of the new |
I'm closing this issue for now, |
Experimental coroutine APIs are deprecated and yield errors in Kotlin 1.3.
The text was updated successfully, but these errors were encountered: