Skip to content

Commit bd3c583

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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)