scope-life.md 468 B

net / com.drake.net.utils / androidx.lifecycle.LifecycleOwner / scopeLife

scopeLife

fun LifecycleOwner.scopeLife(lifeEvent: Event = Lifecycle.Event.ON_DESTROY, dispatcher: CoroutineDispatcher = Dispatchers.Main, block: suspend CoroutineScope.() ->Unit):AndroidScope