withLatestFrom
Empty
withLatestFrom
will emit whatever emitted by a,
but also with the latest value from b. However, if it hasn't got
any value from b yet, then won't emit anything.
a$.pipe(
withLatestFrom(b$)
).subscribe(([a, b]) => {
console.log(a, b);
})