Skip to main content

PrismContainer

Factory for creating ModelContainer 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 a FetchDescriptor.

PrismLiveQuery

Polling-based change detection. Emits count updates via AsyncStream — use to trigger UI re-fetches.
countStream() yields Int (not [T]) to avoid Sendable violations with PersistentModel.