+ +
+

plus

+
+
operator fun <T, R : T> Flow<T>.plus(other: Flow<R>): Flow<T>(source)

This function is an alias to concatWith operator.

Returns a Flow that emits the items emitted from this Flow, then the next, one after the other, without interleaving them.

See also

Example:

val flow1 = flowOf(1, 2, 3)
val flow2 = flowOf(4, 5, 6)
val result = flow1 + flow2 // produces the following emissions 1, 2, 3, 4, 5, 6
+