FlowBindingPropertyIdWithDefaultValueOnScope

fun <T> FlowBindingPropertyIdWithDefaultValueOnScope(flow: Flow<T>, coroutineScope: CoroutineScope, defaultValue: T)

Parameters

flow

A flow for providing data.

coroutineScope

A CoroutineScope where the collecting should be lunched.

defaultValue

A default value for initializing the property value before flow emitting.