Skip to content
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

Avoid using runBlocking in asynchronous code #691

Closed
orchestr7 opened this issue Jan 11, 2021 · 0 comments · Fixed by #707
Closed

Avoid using runBlocking in asynchronous code #691

orchestr7 opened this issue Jan 11, 2021 · 0 comments · Fixed by #707
Assignees
Labels
bug Something isn't working

Comments

@orchestr7
Copy link
Member

https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/run-blocking.html

Some people occasionally use runBlocking coroutine in asynchronous code. We need to have a warning for it, because it leads to a bug.

@orchestr7 orchestr7 added the bug Something isn't working label Jan 11, 2021
@kentr0w kentr0w mentioned this issue Jan 14, 2021
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants