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

Introduce native methods for Single, Completable, Observable #378

Open
uKL opened this issue Feb 26, 2018 · 1 comment
Open

Introduce native methods for Single, Completable, Observable #378

uKL opened this issue Feb 26, 2018 · 1 comment

Comments

@uKL
Copy link
Collaborator

uKL commented Feb 26, 2018

In order to get rid of firstOrError alike calls in the client, the queue should handle operations that:

  • may emit many results
  • may emit one result
  • may just complete
@RobLewis
Copy link

I have wondered whether Observable is the best type for establishConnection(), which can only produce either zero or one results, like a Maybe. I realize this would mean changing the "unsubscribe to disconnect" feature (which is nice), but might there be a better way?

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