observeWhenResumed

fun <T> Flow<T>.observeWhenResumed(lifecycleOwner: LifecycleOwner, action: FlowCollector<T>): Job