How can I combine the latest values but remove the completed observables dynamically? The combineLatest operator does not remove completed observables, it just repeats the last value they emitted until all observables complete.
I wanted something like this:
combineLatestAlive([interval(100).pipe(take(2)), interval(100)]).subscribe(console.log)
//[0,0]
//[1,0]
//[1,1]
//[1]
//[2] ... and so on