question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

What is the recommended approach for @ObsoleteCoroutinesApi

See original GitHub issue

Version 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:closed
  • Created 5 years ago
  • Comments:17 (12 by maintainers)

github_iconTop GitHub Comments

4reactions
joefernercommented, May 4, 2019

I would really like some guidance on this. Should channels not be used until this is resolved?

3reactions
jcornazcommented, Mar 7, 2019

Cool. I see we are on the same page then.

That seems fine. Is that all the original question was asking

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”.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found