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

Way to use a CoroutineDispatcher as a RxJava Scheduler #548

Closed
chrisbanes opened this issue Sep 12, 2018 · 4 comments
Closed

Way to use a CoroutineDispatcher as a RxJava Scheduler #548

chrisbanes opened this issue Sep 12, 2018 · 4 comments

Comments

@chrisbanes
Copy link

The rx2 artifact currently provides Scheduler.asCoroutineDispatcher() to use a Scheduler as a CoroutineDispatcher, but not the other way around.

Ideally I'd like to move over to the new IO and BackgroundDispatcher, and then move my Rx observables to use the same threads too.

@elizarov
Copy link
Contributor

PR is welcome!

@chrisbanes
Copy link
Author

I'll PR when I've done my KotlinConf slides (if no-one else grabs it first)

@elizarov
Copy link
Contributor

Please do it for all reactive implementations (rx1, rx2, and reactor) if possible, just like asCoroutineDispatcher is implemented in all of them.

@Zeyad-37
Copy link

Any progress here ?

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

No branches or pull requests

4 participants