I want my observable to fire immediately, and again every second. interval will not fire immediately. I found this question which suggested using startWith, whi
startWith
RxJs 6
interval(100).pipe(startWith(0)).subscribe(() => { //your code });
or with timer:
import {timer} from 'rxjs/observable/timer'; timer(0, 100).subscribe(() => { });