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