kvision / pl.treksoft.kvision.remote / withProfile

withProfile

suspend fun <RESP> <ERROR CLASS>.withProfile(block: suspend (Profile) -> RESP): RESP
suspend fun <RESP> withProfile(block: suspend (Profile) -> RESP): RESP

A helper extension function for processing with authenticated user profile.