These are chat archives for ReactiveX/RxJava
RxJava – Reactive Extensions for the JVM – a library for composing asynchronous and event-based programs using observable sequences for the Java VM.
Observable<double>, how can I store each value of this array into an List?
saveResultobservable is to simply perform a side-effecting operation (you never use the
departmentInfoparameter to the lambda), you don't put the
saveToCachein a separate Observable. Instead simply put the function call directly in the
doOnCompletedas the final operation. It might require some additional refactoring of the chain but that would be cleaner.