combine

fun <T1, T2, T3, R> Flow<T1>.combine(flow1: Flow<T2>, flow2: Flow<T3>, transform: suspend (a: T1, b: T2, c: T3) -> R): Flow<R>

Combine 3 flows

Receiver

Flow input flow to be combined

Return

Flow the resulting combined flow

Parameters

flow1

Flow second flow to be combined

flow2

Flow third flow to be compined

transform

SuspendFunction3<@kotlin.ParameterName T1, @kotlin.ParameterName T2, @kotlin.ParameterName T3, R> transformation for the combine process


inline fun <T1, T2, T3, T4, T5, T6, R> combine(flow: Flow<T1>, flow2: Flow<T2>, flow3: Flow<T3>, flow4: Flow<T4>, flow5: Flow<T5>, flow6: Flow<T6>, crossinline transform: suspend (T1, T2, T3, T4, T5, T6) -> R): Flow<R>

Combine 6 flows

Return

Flow the resulting combined flow

Parameters

flow

Flow first flow to be combined

flow2

Flow second flow to be combined

flow3

Flow third flow to be combined

flow4

Flow fourth flow to be combined

flow5

Flow fifth flow to be combined

flow6

Flow sixth flow to be combined

transform

SuspendFunction9 transformation for the combine process


inline fun <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R> combine(flow: Flow<T1>, flow2: Flow<T2>, flow3: Flow<T3>, flow4: Flow<T4>, flow5: Flow<T5>, flow6: Flow<T6>, flow7: Flow<T7>, flow8: Flow<T8>, flow9: Flow<T9>, flow10: Flow<T10>, crossinline transform: suspend (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) -> R): Flow<R>

Combine 9 flows

Return

Flow the resulting combined flow

Parameters

flow

Flow first flow to be combined

flow2

Flow second flow to be combined

flow3

Flow third flow to be combined

flow4

Flow fourth flow to be combined

flow5

Flow fifth flow to be combined

flow6

Flow sixth flow to be combined

flow7

Flow seventh flow to be combined

flow8

Flow eighth flow to be combined

flow9

Flow ninth flow to be combined

transform

SuspendFunction9 transformation for the combine process