I want to merge the latest emitted values from multiple Observables, so right now I'm using .withLatestFrom
. Except, it nests the data together in nested arrays instead of pushing the data into a new array value. Example code below.
Any ideas on how I can retrieve multiple Observable emits using .withLatestFrom
?
source0
.withLatestFrom(source1)
.withLatestFrom(source2)
.withLatestFrom(source3)
.map((data) => { console.log(data) });