Does anyone know, in the new Swift async/await
stuff, is there any difference between TaskGroup async
and spawn
, or are they pure synonyms? (If they are synonyms, I rather like spawn
better. async
looks like we're opening an async
block, and that's not what we're doing at all.)
https://developer.apple.com/documentation/swift/taskgroup/3814850-async
https://developer.apple.com/documentation/swift/taskgroup/3814884-spawn