scope-net-life.md 492 B

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

scopeNetLife

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