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.create()and many others can do the same.
somethingshould be computed only after subscription to the observable
defer: imagine you have
networkRequest()on the other thread, it will be computed in thread that called
Observable .defer(() -> Observable.just(networkRequest()) .map() .subscribe()
networkRequest()will be executed only after subscription.