viewModelMainCoroutine

fun ViewModel.viewModelMainCoroutine(coroutineStart: CoroutineStart = CoroutineStart.DEFAULT, action: suspend (scope: CoroutineScope) -> Unit = {}): Job

Receiver

ViewModel

Return

Job

Parameters

action

SuspendFunction0