veilidchat/lib/providers/connection_state.dart
Christien Rioux bc3ed79cc2 xfer
2023-07-21 21:25:27 -04:00

17 lines
377 B
Dart

import '../tools/tools.dart';
enum ConnectionState {
detached,
detaching,
attaching,
attachedWeak,
attachedGood,
attachedStrong,
fullyAttached,
overAttached,
}
ExternalStreamState<ConnectionState> globalConnectionState =
ExternalStreamState<ConnectionState>(ConnectionState.detached);
var globalConnectionStateProvider = globalConnectionState.provider();