Polling an API using rxjs Observable and TakeWhile to change the html instantaneous

前端 未结 0 1128
春和景丽
春和景丽 2021-01-30 03:49

I need to poll an API every couple of seconds, and update the html page. When my service return an observable to my principal component, I insert into a var and use it in html w

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