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

@chrisbanes chrisbanes commented Sep 12, 2018

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
Member

@elizarov elizarov commented Sep 12, 2018

PR is welcome!

@chrisbanes
Copy link
Author

@chrisbanes chrisbanes commented Sep 12, 2018

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

@elizarov
Copy link
Member

@elizarov elizarov commented Sep 13, 2018

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

@Zeyad-37 Zeyad-37 commented Feb 13, 2019

Any progress here ?

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

No branches or pull requests

4 participants