Available on all targets
Utility to create and wait for multiple callback and call a final one after every other callback has been called.
new(onComplete:() ‑> Void)
read onlypending:Int
Get the number of callbacks still pending
read onlycomplete:Bool
Check if all callbacks have completed
callback():() ‑> Void
Create a new callback to wait for. Returns a function that should be called when this particular task is done.