You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Declaration-site variance for FlowCollector
* Better Flow documentation
* Use SendChannel.isEmpty in FlatMap, add nulls test, use unbox, fail fast for conflated channels
* Simplify Flow.asFlowable in rx2 module
* Consistent naming
Copy file name to clipboardExpand all lines: kotlinx-coroutines-core/common/src/flow/operators/Merge.kt
+15-16
Original file line number
Diff line number
Diff line change
@@ -16,23 +16,23 @@ import kotlin.jvm.*
16
16
importkotlinx.coroutines.flow.unsafeFlowasflow
17
17
18
18
/**
19
-
* Transforms elements emitted by the original flow by applying [mapper], that returns another flow, and then concatenating and flattening these flows.
19
+
* Transforms elements emitted by the original flow by applying [transform], that returns another flow, and then concatenating and flattening these flows.
20
20
* This method is identical to `flatMapMerge(concurrency = 1, bufferSize = 1)`
21
21
*
22
22
* Note that even though this operator looks very familiar, we discourage its usage in a regular application-specific flows.
23
23
* Most likely, suspending operation in [map] operator will be sufficient and linear transformations are much easier to reason about.
0 commit comments