interval (100).pipe(startWith(0)).subscribe(() => { //your code });. or with timer: import {timer} from 'rxjs/observable/timer'; timer(0, 100).subscribe(() ...
確定! 回上一頁