rd-framework / com.jetbrains.rd.framework.util / withContext

withContext

suspend fun <T> withContext(lifetime: <ERROR CLASS>, context: <ERROR CLASS>, block: suspend <ERROR CLASS>.() -> T): T
suspend fun <T> withContext(scheduler: <ERROR CLASS>, block: suspend <ERROR CLASS>.() -> T): T