DispatchLifecycleScope

fun DispatchLifecycleScope(lifecycle: Lifecycle, coroutineContext: CoroutineContext = MainImmediateContext())

Parameters

coroutineContext

optional the source CoroutineContext which will be converted to a MainImmediateCoroutineScope. Its Elements will be re-used.

Sources

Link copied to clipboard