Tag: Concurrency

  • @preconcurrency in Swift

    @preconcurrency in Swift

    Hey Swifters 👋 I this guide we will explore @preconcurrency in Swift. You have probably been loving the new Swift Concurrency features async/await, Task, actor, and the rest of the crew. But sometimes you have to interact with older code, the kind that wasn’t written with concurrency in mind. And that’s when you might stumble…

  • withTaskGroup and withThrowingTaskGroup in Swift 6.1

    withTaskGroup and withThrowingTaskGroup in Swift 6.1

    Hi Swifters 🙂, in this article, I would like to talk about withTaskGroup and withThrowingTaskGroup in Swift 6.1. If you have ever worked with concurrency in Swift, you might have probably seen or used withTaskGroup or withThrowingTaskGroup, if not, thats okay, I will tell you why and when you should consider using it. These APIs let you…