How to do like this without using setTimeout?

前端 未结 0 1505
北荒
北荒 2020-12-30 11:57

How to do like this without using setTimeout?

let res;
    this.auth.getUser().subscribe((response) => {
      res = response;
    });
    setTimeout(() =&         


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