lifetimed Coroutine Scope
suspend fun <T> lifetimedCoroutineScope(lifetime: Lifetime, action: suspend CoroutineScope.() -> T): T
Deprecated
Api moved to rd-core
Replace with
import com.jetbrains.rd.util.threading.coroutines.lifetimedCoroutineScope
Content copied to clipboard
lifetimedCoroutineScope(lifetime, action)Content copied to clipboard
Creates a coroutineScope that will be cancelled on the passed lifetime termination