Alamofire Asynchronous requests happening out of order in for loop

后端 未结 1 1468
猫巷女王i
猫巷女王i 2021-01-26 11:18

I\'m having this strange issue with Alamofire asynchronous requests in Swift. Here is the pseudocode for what I am trying to do.

  for each email:
      GET req         


        
相关标签:
1条回答
  • 2021-01-26 11:27

    Asynchronous calls are just that. Asynchronous.

    You cannot guarantee which one will finish first regardless of the order in which they were started.

    0 讨论(0)
提交回复
热议问题