We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a3842e commit 7ec88b7Copy full SHA for 7ec88b7
Documentation/DemoApps/GRDBDemo/GRDBDemo/Views/PlayerListModel.swift
@@ -56,7 +56,7 @@ import GRDB
56
57
// Start observing the database.
58
// Previous observation, if any, is cancelled.
59
- cancellable = observation.start(in: appDatabase.reader) { error in
+ cancellable = observation.start(in: appDatabase.reader, scheduling: .immediate) { error in
60
// Handle error
61
} onChange: { [unowned self] players in
62
self.players = players
0 commit comments