Skip to content

Commit bd3c583

Browse files
committed
Add Main actor isolation to ViewContext
1 parent 9539092 commit bd3c583

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Sources/CoreModel/Store.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public extension ModelStorage {
4444
}
4545
}
4646

47+
@MainActor
4748
public protocol ViewContext {
4849

4950
/// Fetch managed object.

0 commit comments

Comments
 (0)