launchInForegroundOf

fun Flow<*>.launchInForegroundOf(scope: MiddlewareScope<*>): Job

Launches a foreground coroutine to collect this flow using given scope.

See also