addLatestValueCollector

inline fun <G : F> addLatestValueCollector(crossinline effectHandler: suspend FlowCollector<E>.(G) -> Unit)

Deprecated

Use addValueCollector with the ExecutionPolicy.Latest policy.

Replace with

addValueCollector<G>(ExecutionPolicy.Latest, effectHandler)