PrismContainer
Factory for creatingModelContainer instances with sensible defaults.
PrismModelStore
@ModelActor providing generic CRUD for any PersistentModel. Runs on its own ModelContext — safe for background work.
PrismQuery
Fluent query builder that produces aFetchDescriptor.
PrismLiveQuery
Polling-based change detection. Emits count updates viaAsyncStream — use to trigger UI re-fetches.
countStream() yields Int (not [T]) to avoid Sendable violations with PersistentModel.