FlowObservable

constructor(coroutineScope: CoroutineScope, context: CoroutineContext = coroutineScope.coroutineContext, flow: Flow<T>, observation: ObservationUninitialized<T> = ObservationUninitialized())

Parameters

coroutineScope

The CoroutineScope on which to observe the Flow

context

The CoroutineContext in which to observe the Flow

flow

The Flow to observe

observation

The ObservationUninitialized to observe the Flow

Type Parameters

T

the type of value to expect.