Angular - RxJS Operators
Examine this Angular RxJS snippet:
What is the likely issue with this code?
import { of, interval } from 'rxjs';
import { exhaustMap, take, map } from 'rxjs/operators';
of(1, 2).pipe(
exhaustMap(x => interval(15).pipe(take(2), map(i => x + i)))
).subscribe(console.log);What is the likely issue with this code?
