Understanding Swift’s Async/Await Model with Exception Handling

In my previous articles on structured concurrency with Swift, I walked through some practical examples of how I envision developers using the async/await syntax to streamline and simplify asynchronous code. This article extends the basics of async / await with an existing standard — exception handling.




Modern code, Illustrations & Computer science

Recommended from Medium

Learning Big O Notation with Swift

50 shades of pain or how to migrate a Flutter project from Objective-C to Swift

Collection Types in Swift

iOS Development — Day 3

The Ins and Outs of Swift InOut Variables

Sticky Notes Post-it Notes For Mac 2022 REVIEW — MacSources

Stacks in Swift — Data Structure

Exposing the separate resources module to iOS target using moko-resources in KMM

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Wayne Bishop

Wayne Bishop

I write about Swift Development & Computer Science. Get more tips on technical interview preparation at — www.waynewbishop.com

More from Medium

Monad, Functor and Applicatives in Swift

How To Implement a Custom MapKit Callout in iOS

A map

Swift Array and its Performance — Data Structures

SOLID-The open-close principle in Swift