mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-07-30 17:58:58 -04:00
init failure retry work
This commit is contained in:
parent
519571628f
commit
ba191d3903
31 changed files with 438 additions and 218 deletions
|
@ -44,7 +44,7 @@ class PerAccountCollectionCubit extends Cubit<PerAccountCollectionState> {
|
|||
await super.close();
|
||||
}
|
||||
|
||||
Future<void> _init() async {
|
||||
Future<void> _init(Completer<void> _cancel) async {
|
||||
// subscribe to accountInfo changes
|
||||
_processor.follow(accountInfoCubit.stream, accountInfoCubit.state,
|
||||
_followAccountInfoState);
|
||||
|
@ -235,7 +235,7 @@ class PerAccountCollectionCubit extends Cubit<PerAccountCollectionState> {
|
|||
|
||||
final Locator _locator;
|
||||
final _processor = SingleStateProcessor<AccountInfo>();
|
||||
final _initWait = WaitSet<void>();
|
||||
final _initWait = WaitSet<void, void>();
|
||||
|
||||
// Per-account cubits regardless of login state
|
||||
final AccountInfoCubit accountInfoCubit;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue