asFlow
Creates a cold flow that produces a single value from the given functional type.
Creates a cold flow that produces a single value from the given functional type.
Example of usage:
suspend fun remoteCall(): R = ...
fun remoteCallFlow(): Flow<R> = ::remoteCall.asFlow()
Creates a cold flow that produces values from the given iterable.
Creates a cold flow that produces values from the given iterator.
Creates a cold flow that produces values from the given sequence.
Creates a cold flow that produces values from the given array. The flow being cold means that the array components are read every time a terminal operator is applied to the resulting flow.
Creates a cold flow that produces values from the array. The flow being cold means that the array components are read every time a terminal operator is applied to the resulting flow.
Creates a flow that produces values from the range.