RxAndroidBle icon indicating copy to clipboard operation
RxAndroidBle copied to clipboard

Introduce native methods for Single, Completable, Observable

Open uKL opened this issue 6 years ago • 1 comments

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

uKL avatar Feb 26 '18 14:02 uKL

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?

RobLewis avatar Feb 26 '18 14:02 RobLewis