Skip to content
RED SAGSkills
medium10 pts · first answer countsswiftuiswift-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