https://kotlinlang.org logo
#rx
Title
s

Schadenfreude

02/15/2019, 10:23 AM
Hey guys! I have a service that takes some time to get up and running. In the meantime though, there might be some calls made to it. So my first thought was a
BlockingQueue
or some other queue, which would hold all the calls made while the service is setting up and once it did, they would execute. But then I thought that there might be a way to do this using Rx. I was reading up on that and I think that maybe something like a
ReplaySubject
would do the trick. Am I right in my assumption or is there anything better I can use?