signature: repeat(count: number): Observable
// RxJS v6+
import { repeat, delay } from 'rxjs/operators';
import { of } from 'rxjs';
const delayedThing = of('delayed value').pipe(delay(2000));
delayedThing
.pipe(repeat(3))
// delayed value.. delayed value.. delayed value..
.subscribe(console.log);