What is the recommended approach for @ObsoleteCoroutinesApi
See original GitHub issueVersion 0.27.0 marked all channel operators with @ObsoleteCoroutinesApi
saying:
This API has serious known flaws and will be replaced with a better alternative in the nearest releases.
My question here is: What is the recommended approach while waiting for the better alternative in the nearest releases?
Should we stop using channel operators? Should we migrate existing code for an alternative technology (like RxJava) in the meantime?
Issue Analytics
- State:
- Created 5 years ago
- Comments:17 (12 by maintainers)
Top Results From Across the Web
limitedParallelism - Kotlin
Creates a view of the current dispatcher that limits the parallelism to the given value. The resulting view uses the original dispatcher for...
Read more >MutableSharedFlow is kind of complicated | by Lukas Vyletel
What tryEmit method does, in order to not block thread until an event is collected, is that it sends a value to MutableSharedFlow...
Read more >All About Opt-In Annotations - zsmb.co
A more precise approach is opting in locally. ... using opt-in annotations is the recommended way of “annotating API surfaces as unstable”.
Read more >Cannot access 'filter': it is internal in 'kotlinx.coroutines.channels'
You should take annotation @ObsoleteCoroutinesApi serious, because class BroadcastChannel had been deprecated altogether ...instead use ...
Read more >Coroutine in Android: Basic - Medium
can be called in many ways but it is recommended to call it only inside lunch{. ... the kotlinx.coroutines library takes a different...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I would really like some guidance on this. Should channels not be used until this is resolved?
Cool. I see we are on the same page then.
Actually the initial question was already answered and closed for quite a while already. But this last bit was not completely off-topic, since the question was: “What is the recommended approach for
@ObsoleteCoroutinesApi
”.