range operator creates an observable that emits a sequence of numbers.
range
import { range } from 'rxjs'; const range$ = range(1, 10);
Official Doc: rxjs.range