Relationship between rxJava and promises
I am trying to tie rxJava with what I already know, especially from JavaScript programming. Is the main idea behind rxJava as promises for observables?
+3
Julian A.
source
to share
1 answer
As the comment explains, a promise will let you chain the operation, but you end up with one result.
With RxJava, you can get notified multiple times and then get multiple results.
A Promise can be thought of as an async operation and an Observable as an async * operation.
+6
dwursteisen
source
to share