I'm looking for either a ConnectableObservable or Subject that if there are no subscribers will cache the values and wait to emit them until a subscription occurs. But if there are subscribers then it does not cache them and any new subscribers will not get previous events.
from RxJava operator that waits to emit until it has a subscriber
No comments:
Post a Comment