veilidchat/lib/veilid_processor/cubit/connection_state_cubit.dart
Christien Rioux 31f562119a checkpoint
2024-01-04 22:29:43 -05:00

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);
}