Angular test for component that makes an API call every 2 seconds and repeats upto x number of times until it finds a record

前端 未结 0 983
轮回少年
轮回少年 2021-01-30 15:01

I have a component where I make an API call repeatedly every 2 seconds and when the response contains a record with name = \'somename\', I stop looping it by calling unsubscribe

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