I don't know. I'm mobile, but that logic can be encapsulated by operators. A subject/relay is just a bridge to imperative sources which is orthogonal to the desire to cache the most recent value to be replayed to the first subscriber
m
mingkangpan
04/20/2017, 11:14 PM
@zak.taccardi so the solution you posted above wouldnt work right? is there a possible solution?
z
zak.taccardi
04/20/2017, 11:14 PM
correct. it doesn’t work. I don’t know how to handle that specific use case with Rx
m
mingkangpan
04/20/2017, 11:20 PM
@jw could yu be so kind as to post a solution you mentioned with replay(1) and refcount() ?