WWDC21: Explore structured concurrency in Swift | Apple

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ต.ค. 2024
  • When you have code that needs to run at the same time as other code, it’s important to choose the right tool for the job. We'll take you through the different kinds of concurrent tasks you can create in Swift, show you how to create groups of tasks, and find out how to cancel tasks in progress. We'll also provide guidance on when you may want to use unstructured tasks.
    To get the most out of this session, we first recommend watching “Meet async/await in Swift.”
    Explore related documentation, sample code, and more:
    SE-0317: async let: github.com/app...
    SE-0304: Structured concurrency: github.com/app...
    The Swift Programming Language: Concurrency: docs.swift.org...
    Beyond the basics of structured concurrency: developer.appl...
    Visualize and optimize Swift concurrency: developer.appl...
    Eliminate data races using Swift Concurrency: developer.appl...
    Discover concurrency in SwiftUI: developer.appl...
    Meet AsyncSequence: developer.appl...
    Meet async/await in Swift: developer.appl...
    Protect mutable state with Swift actors: developer.appl...
    What‘s new in Swift: developer.appl...
    Swift concurrency: Update a sample app: developer.appl...
    Swift concurrency: Behind the scenes: developer.appl...
    More Apple Developer resources:
    Video sessions: apple.co/Video...
    Documentation: apple.co/Devel...
    Forums: apple.co/Devel...
    App: apple.co/Devel...

ความคิดเห็น •