mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2024-10-01 06:55:46 -04:00
17 lines
377 B
Dart
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();
|