DispatchGroup: check how many “entered”

后端 未结 2 694
刺人心
刺人心 2020-12-17 18:02

I\'m using Swift 3 DispatchGroup to wait until multiple async operations are finished (according to this answer which works perfect and as expected.

Is

2条回答
  •  失恋的感觉
    2020-12-17 18:40

    NO, nothing. You need to balance your enter() and leave() by yourself without counting.

    DispatchGroup

提交回复
热议问题