What happens with $q.all() when some calls work and others fail?

后端 未结 7 1628
生来不讨喜
生来不讨喜 2020-11-30 03:09

What happens with $q.all() when some calls work and others fail?

I have the following code:

    var entityIdColumn = $scope.entityType.toLowerCase()          


        
7条回答
  •  难免孤独
    2020-11-30 03:37

    I've found a new angular package which add the allSettled functionality to $q in angular:

    https://github.com/ohjames/angular-promise-extras

提交回复
热议问题