File tree Expand file tree Collapse file tree
Sources/CoreDataRepository Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,10 @@ import Foundation
2222/// For fetch and aggregate operations, there are additional subscription and throwing subscription options.
2323/// Subscriptions return an ``AsyncStream`` of
2424/// ``Result``s with strongly typed errors. Throwing subscriptions return an ``AsyncThrowingStream``.
25- public final class CoreDataRepository {
25+ ///
26+ /// All uses of ``context`` are wrapped in `perform` or `performAndWait` blocks so ``CoreDataRepository`` is concurrency
27+ /// safe.
28+ public final class CoreDataRepository : @unchecked Sendable {
2629 /// CoreData context the repository uses. A child or 'scratch' context is usually created from this context for work
2730 /// to be performed in.
2831 public let context : NSManagedObjectContext
You can’t perform that action at this time.
0 commit comments