invoke
abstract suspend operator 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.
Only works for proteus protocol.
Return
an BreakSessionResult containing a CoreFailure in case anything goes wrong and BreakSessionResult.Success in case everything succeeds
Parameters
userId
the id of the user to whom the session should be broken
clientId
the id of the client of the user to whom the session should be broken