Swift 6.2 lets a module or target choose default actor isolation. UI-heavy code can default to MainActor so access rules are consistent across the module.
Putting all work on the main actor can also keep heavy computation there. Mark work that truly needs parallel execution and cross isolation boundaries safely.
When to use
Use it when setting a consistent isolation policy for Swift UI code.