import Combine import Foundation import GRDB @MainActor final class RostersStore: ObservableObject { @Published private(set) var rosters: [Roster] = [] init() { // Task { // let observation = ValueObservation.tracking(Roster.fetchAll) // do { // for try await credentials in observation.values(in: Database.shared.dbQueue) { // processCredentials(credentials) // ready = true // print("Fetched \(credentials.count) credentials") // } // } catch {} // } } }