mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-01-14 17:17:14 -05:00
13 lines
462 B
Dart
13 lines
462 B
Dart
|
import '../../tools/tools.dart';
|
||
|
import '../models/models.dart';
|
||
|
import '../repository/processor_repository.dart';
|
||
|
|
||
|
export '../models/processor_connection_state.dart';
|
||
|
|
||
|
class ConnectionStateCubit
|
||
|
extends StreamWrapperCubit<ProcessorConnectionState> {
|
||
|
ConnectionStateCubit(ProcessorRepository processorRepository)
|
||
|
: super(processorRepository.streamProcessorConnectionState(),
|
||
|
defaultState: processorRepository.processorConnectionState);
|
||
|
}
|