Examples of when to use @async over @spawn?

@async and @spawn have the same cost. The difference is in the semantics and for new code there is no reason to use @async. We needed @spawn to not break existing code that depended on the precise semantics of @async

4 Likes