WWDC21: Meet async/await in Swift | Apple

Published: 08 October 2024
on channel: Apple Developer
6,836
163

Swift now supports asynchronous functions — a pattern commonly known as async/await. Discover how the new syntax can make your code easier to read and understand. Learn what happens when a function suspends, and find out how to adapt existing completion handlers to asynchronous functions.

Explore related documentation, sample code, and more:
SE-0310: Effectful read-only properties: https://github.com/apple/swift-evolut...
SE-0300: Continuations for interfacing async tasks with synchronous code: https://github.com/apple/swift-evolut...
SE-0297: Concurrency Interoperability with Objective-C: https://github.com/apple/swift-evolut...
SE-0296: Async/await: https://github.com/apple/swift-evolut...
The Swift Programming Language: Concurrency: https://docs.swift.org/swift-book/Lan...
Efficiency awaits: Background tasks in SwiftUI: https://developer.apple.com/videos/pl...
Visualize and optimize Swift concurrency: https://developer.apple.com/videos/pl...
Eliminate data races using Swift Concurrency: https://developer.apple.com/videos/pl...
Use Xcode for server-side development: https://developer.apple.com/videos/pl...
Bring Core Data concurrency to Swift and SwiftUI: https://developer.apple.com/videos/pl...
Discover concurrency in SwiftUI: https://developer.apple.com/videos/pl...
What's new in AppKit: https://developer.apple.com/videos/pl...
Meet AsyncSequence: https://developer.apple.com/videos/pl...
What's new in CloudKit: https://developer.apple.com/videos/pl...
Use async/await with URLSession: https://developer.apple.com/videos/pl...
Protect mutable state with Swift actors: https://developer.apple.com/videos/pl...
Explore structured concurrency in Swift: https://developer.apple.com/videos/pl...
What’s new in AVFoundation: https://developer.apple.com/videos/pl...
What‘s new in Swift: https://developer.apple.com/videos/pl...
Swift concurrency: Update a sample app: https://developer.apple.com/videos/pl...
Swift concurrency: Behind the scenes: https://developer.apple.com/videos/pl...
Diagnose unreliable code with test repetitions: https://developer.apple.com/videos/pl...
Monday@WWDC21: https://developer.apple.com/videos/pl...
Friday@WWDC21: https://developer.apple.com/videos/pl...

More Apple Developer resources:
Video sessions: https://apple.co/VideoSessions
Documentation: https://apple.co/DeveloperDocs
Forums: https://apple.co/DeveloperForums
App: https://apple.co/DeveloperApp


Watch video WWDC21: Meet async/await in Swift | Apple online, duration hours minute second in high quality that is uploaded to the channel Apple Developer 08 October 2024. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 6,836 times and liked it 163 visitors.