If I have an `Observable` let’s say: ``` val repla...
# rx
m
If I have an
Observable
let’s say:
Copy code
val replayedObs = someObservable.replay(1)

//and at some point later

val subscription = replayedObs.connect()
Is there a way to execute
subscription.unsubscribe()
when
replayedObs
emitted a value and someone actually received it? I don’t care if there was one or multiple observers. I would like to achieve that
replayedObs
replays 1 item and only once and then unsubscribe from underlying observable.