code here /** * Constructor that wraps an actual subject. * @param actual the subject wrapped */ SerializedSubject(final Subject<T> actual) { this.actual = actual; }
not to use Observable.create(…) • Remember about Observable contract and happens-before relation • Use serialize() and toSerialized() • Try not to extract state out of rx chain
not to use Observable.create(…) • Remember about Observable contract and happens-before relation • Use serialize() and toSerialized() • Try not to extract state out of rx chain • Questions? [email protected] @nvnemtin