RxJS v6+. 2. import { interval, timer } from 'rxjs';. 3. import { delayWhen } from 'rxjs/operators';. 4. . 5. //emit value every second.
確定! 回上一頁