How do i stop polling when user opens a popup?

前端 未结 0 861
耶瑟儿~
耶瑟儿~ 2021-02-08 12:31
update(){
this.timeInterval = interval(2000).pipe(startWith(0), switchMap(() => this.deviceService.getDeviceList())
).subscribe((success: any) => {
  this.rowData          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题