collectFrom

suspend fun collectFrom(flow: Flow<T>)

Collects the flow and triggers registered callbacks.

Parameters

flow

The flow to collect.