dispatchJobIn

fun DispatchScope<*>.dispatchJobIn(action: ForegroundJobAction, scope: CoroutineScope): Job

Dispatches action and expects any middleware to launch a single foreground job logically associate with it. Coroutine is launched in the scope.

Return

a job associated with action