Angular 2 : what make a service to be “Outside” angular zone?

前端 未结 3 1706
难免孤独
难免孤独 2021-01-22 20:39

After having same issues as many people on StackOverflow i didn\'t manage to understand what is an \"Outside angular zone\" Service ?

I\'ve checks all existing question

3条回答
  •  半阙折子戏
    2021-01-22 21:19

    As far as I know, it is not possible to check whether something runs "Inside" or "Outside" angular zone. If you use zone.runOutsideAngular it runs outside your zone. Second comes to my mind: Why would you want to know?

提交回复
热议问题