invoke

abstract suspend operator fun invoke(userId: <Error class: unknown class>, clientId: <Error class: unknown class>): EstablishSessionResult

Establish a proteus session with another client

Return

an EstablishSessionResult containing a CoreFailure in case anything goes wrong and EstablishSessionResult.Success in case everything succeeds

Parameters

userId

the id of the user to whom the session established

clientId

the id of the client of the user to whom the session should be established