@@ -140,14 +140,10 @@ abstract class GlobalStore extends ChangeNotifier {
140
140
/// This should always have a consistent snapshot of the state on the server,
141
141
/// as provided by the Zulip event system.
142
142
///
143
- /// An instance directly of this class will not attempt to poll an event queue
144
- /// to keep the data up to date. For that behavior, see the subclass
145
- /// [LivePerAccountStore ] .
143
+ /// This class does not attempt to poll an event queue
144
+ /// to keep the data up to date. For that behavior, see
145
+ /// [UpdateMachine ] .
146
146
class PerAccountStore extends ChangeNotifier with StreamStore {
147
- /// Create a per-account data store that does not automatically stay up to date.
148
- ///
149
- /// For a [PerAccountStore] that polls an event queue to keep itself up to
150
- /// date, use [LivePerAccountStore.fromInitialSnapshot] .
151
147
factory PerAccountStore .fromInitialSnapshot ({
152
148
required Account account,
153
149
required ApiConnection connection,
@@ -410,8 +406,8 @@ const _apiSendMessage = sendMessage; // Bit ugly; for alternatives, see: https:/
410
406
/// The underlying data store is an [AppDatabase] corresponding to a SQLite
411
407
/// database file in the app's persistent storage on the device.
412
408
///
413
- /// The per-account stores will be instances of [LivePerAccountStore ] ,
414
- /// with data loaded through a live [ApiConnection ] .
409
+ /// The per-account stores will use a live [ApiConnection ] ,
410
+ /// and will have an associated [UpdateMachine ] .
415
411
class LiveGlobalStore extends GlobalStore {
416
412
LiveGlobalStore ._({
417
413
required AppDatabase db,
0 commit comments