File tree 1 file changed +3
-3
lines changed
kotlinx-coroutines-core/common/src/flow/terminal
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2016-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
2
+ * Copyright 2016-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.crucial difference
3
3
*/
4
4
5
5
@file:JvmMultifileClass
@@ -87,8 +87,8 @@ public suspend inline fun <T> Flow<T>.collectIndexed(crossinline action: suspend
87
87
88
88
/* *
89
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.
90
+ * The crucial difference from [collect] is that when the original flow emits a new value
91
+ * then the [action] block for the previous value is cancelled.
92
92
*
93
93
* It can be demonstrated by the following example:
94
94
*
You can’t perform that action at this time.
0 commit comments