Skip to content
RED SAG Skills
mediumStudy question · answer published in iOS interview questions, so no pointsswiftuiswift-concurrency

SwiftUI .task when leaving a screen

A SwiftUI view loads data with .task { await vm.load() }. The user navigates away before loading finishes. What happens?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions