We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88708a0 commit dda99e2Copy full SHA for dda99e2
kotlinx-coroutines-core/common/src/flow/terminal/Collect.kt
@@ -87,8 +87,8 @@ public suspend inline fun <T> Flow<T>.collectIndexed(crossinline action: suspend
87
88
/**
89
* Terminal flow operator that collects the given flow with a provided [action].
90
- * The crucial difference from [collect] is that when the original flow emits a new value, [action] block for previous
91
- * value is cancelled.
+ * The crucial difference from [collect] is that when the original flow emits a new value
+ * then the [action] block for the previous value is cancelled.
92
*
93
* It can be demonstrated by the following example:
94
0 commit comments