mirror of
				https://gitlab.com/veilid/veilidchat.git
				synced 2025-10-30 05:39:18 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			469 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			469 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
| import 'package:riverpod/src/stream_provider.dart';
 | |
| 
 | |
| import '../tools/tools.dart';
 | |
| 
 | |
| enum ConnectionState {
 | |
|   detached,
 | |
|   detaching,
 | |
|   attaching,
 | |
|   attachedWeak,
 | |
|   attachedGood,
 | |
|   attachedStrong,
 | |
|   fullyAttached,
 | |
|   overAttached,
 | |
| }
 | |
| 
 | |
| ExternalStreamState<ConnectionState> globalConnectionState =
 | |
|     ExternalStreamState<ConnectionState>(ConnectionState.detached);
 | |
| AutoDisposeStreamProvider<ConnectionState> globalConnectionStateProvider = globalConnectionState.provider();
 | 
