RxJava – Reactive Extensions for the JVM – a library for composing asynchronous and event-based programs using observable sequences for the Java VM.
from(something)
something
should be computed only after subscription to the observabledefer
: imagine you have Observable.just(networkRequest())
networkRequest()
will be executed only after subscription.
PublishSubject#onNext