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
Before RxJs 6:
Observable.timer(0, 1000) will start immediately.
Observable.timer(0, 1000)
RxJs 6+
import {timer} from 'rxjs/observable/timer'; timer(0, 1000).subscribe(() => { ... });