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

CoroutineDispatcher.asExecutor() to respect isDispatchNeeded #3683

Merged
merged 1 commit into from
Apr 17, 2023

Conversation

odedniv
Copy link
Contributor

@odedniv odedniv commented Mar 17, 2023

Calling Dispatchers.Main.immediate.asExecutor().execute { ... } should respect the fact that it's immediate, and avoid dispatch (and posting to the Looper) when in the right context.

Calling `Dispatchers.Main.immediate.asExecutor().execute { ... }`
should respect the fact that it's immediate, and avoid dispatch (and
posting to the Looper) when in the right context.
@odedniv
Copy link
Contributor Author

odedniv commented Mar 26, 2023

@dkhalanskyjb is someone else needed to merge this?

@dkhalanskyjb dkhalanskyjb changed the base branch from master to develop March 26, 2023 17:18
@odedniv
Copy link
Contributor Author

odedniv commented Apr 13, 2023

Friendly ping, what is needed to be done to merge this?

@dkhalanskyjb dkhalanskyjb merged commit 915347c into Kotlin:develop Apr 17, 2023
@dkhalanskyjb
Copy link
Collaborator

It's all good, thank you for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants