a$.pipe(withLatestFrom(b$)) emits value only if b$ is cold observable (or Behavior/ReplaySubject).
But what if both a$ and b$ are hot observables ?
I this case resulting observable will never emit
I think the solution would be to do
b2$ = b$.pipe(publishReplay(1))
b2$.connect()
and then
a$.pipe(withLatestFrom(b2$))
but it doesn't look right to me. What would be proper solution to this problem?