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

1.x: Feature Request Single#flatMapCompletable #4216

Closed
vanniktech opened this issue Jul 19, 2016 · 4 comments
Closed

1.x: Feature Request Single#flatMapCompletable #4216

vanniktech opened this issue Jul 19, 2016 · 4 comments

Comments

@vanniktech
Copy link
Collaborator

Would be nice to flatMap from Single to Completable unless there is any other way to do this right now. flatMapObservable already does exist.

Happy to hear thoughts on that from you guys.

@akarnokd
Copy link
Member

PR welcome.

@vanniktech
Copy link
Collaborator Author

I'm curious how would you start implementing this?

@akarnokd
Copy link
Member

akarnokd commented Jul 21, 2016

Subscribe to the Single and in the onSuccess, call the mapper and subscribe to the returned Completable.

@akarnokd
Copy link
Member

akarnokd commented Aug 2, 2016

Closing via #4226.

@akarnokd akarnokd closed this as completed Aug 2, 2016
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

2 participants