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

createBlocking should use Dispatchers.IO #112

Open
05nelsonm opened this issue Mar 24, 2024 · 0 comments
Open

createBlocking should use Dispatchers.IO #112

05nelsonm opened this issue Mar 24, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@05nelsonm
Copy link
Collaborator

runBlocking utilizes EmptyCoroutineContext by default meaning that under the hood Dispatchers.Default is being used. This is a bottle neck and should not be a thing. Need to pass in as a constructor argument Dispatchers.IO to all runBlocking function calls.

@05nelsonm 05nelsonm added the enhancement New feature or request label Mar 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant