Is there a way to make an
interface) in rx-scala? I.e. make it an Observable with memory, so that it can have multiple subscriptions, and on each new subscription, it produces the last emitted value?
does half the job, but it doesn't emit the last value.
on the other hand replays all values - I would need something like that, but which only replays the last emitted value, to handle infinite streams.
Rx-Java solutions also accepted, although the native Scala form is preferred!