BreakSessionUseCaseImpl

internal class BreakSessionUseCaseImpl(proteusClientProvider: ProteusClientProvider, idMapper: IdMapper = MapperProvider.idMapper(), dispatchers: <Error class: unknown class> = KaliumDispatcherImpl) : BreakSessionUseCase

Constructors

Link copied to clipboard
internal constructor(proteusClientProvider: ProteusClientProvider, idMapper: IdMapper = MapperProvider.idMapper(), dispatchers: <Error class: unknown class> = KaliumDispatcherImpl)

Functions

Link copied to clipboard
open suspend operator override fun invoke(userId: <Error class: unknown class>, clientId: <Error class: unknown class>): BreakSessionResult

Function that can be used to create a broken session with another user on purpose. This debug function can be used to test correct client behaviour in case of broken sessions. It should not be used by clients itself.