Question Details

No question body available.

Tags

javascript typescript rxjs

Answers (1)

February 5, 2026 Score: 2 Rep: 101 Quality: Low Completeness: 70%

Use zipWith. It combines emissions by index into an array. To get the first value without delay start the tick observable with undefined.

const source = from(['a', 'b', 'c']);
const tick = interval(1000);

source .pipe(zipWith(tick.pipe(startWith(undefined)))) .subscribe(([v]) => console.log(v));

Stackblitz