I'm not getting why the following BehaviourSeubject is not emitting three times
const numbers = [1, 2, 3, 4]
const urls$ = new BehaviorSubject<number[]>(numbers)
urls$.pipe(repeat(3)).subscribe(console.log)
Also, what is the semantic of the following?
urls$.pipe(switchMap(arr => from(arr)), repeat(3)).subscribe(console.log)
I would expect to repeat three times as well but the only working case is
urls$.pipe(switchMap(arr => from(arr).pipe(repeat(3)))).subscribe(console.log)