@@ -30,7 +30,6 @@ import kotlinx.coroutines.flow.internal.unsafeFlow as flow
30
30
* This function is a shorthand for `flow.combineTransform(flow2) { a, b -> emit(transform(a, b)) }
31
31
*/
32
32
@JvmName(" flowCombine" )
33
- @ExperimentalCoroutinesApi
34
33
public fun <T1 , T2 , R > Flow<T1>.combine (flow : Flow <T2 >, transform : suspend (a: T1 , b: T2 ) -> R ): Flow <R > = flow {
35
34
combineTransformInternal(this @combine, flow) { a, b ->
36
35
emit(transform(a, b))
@@ -52,7 +51,6 @@ public fun <T1, T2, R> Flow<T1>.combine(flow: Flow<T2>, transform: suspend (a: T
52
51
*
53
52
* This function is a shorthand for `combineTransform(flow, flow2) { a, b -> emit(transform(a, b)) }
54
53
*/
55
- @ExperimentalCoroutinesApi
56
54
public fun <T1 , T2 , R > combine (flow : Flow <T1 >, flow2 : Flow <T2 >, transform : suspend (a: T1 , b: T2 ) -> R ): Flow <R > =
57
55
flow.combine(flow2, transform)
58
56
@@ -74,7 +72,6 @@ public fun <T1, T2, R> combine(flow: Flow<T1>, flow2: Flow<T2>, transform: suspe
74
72
* ```
75
73
*/
76
74
@JvmName(" flowCombineTransform" )
77
- @ExperimentalCoroutinesApi
78
75
public fun <T1 , T2 , R > Flow<T1>.combineTransform (
79
76
flow : Flow <T2 >,
80
77
@BuilderInference transform : suspend FlowCollector <R >.(a: T1 , b: T2 ) -> Unit
@@ -101,7 +98,6 @@ public fun <T1, T2, R> Flow<T1>.combineTransform(
101
98
* }
102
99
* ```
103
100
*/
104
- @ExperimentalCoroutinesApi
105
101
public fun <T1 , T2 , R > combineTransform (
106
102
flow : Flow <T1 >,
107
103
flow2 : Flow <T2 >,
@@ -117,7 +113,6 @@ public fun <T1, T2, R> combineTransform(
117
113
* Returns a [Flow] whose values are generated with [transform] function by combining
118
114
* the most recently emitted values by each flow.
119
115
*/
120
- @ExperimentalCoroutinesApi
121
116
public inline fun <T1 , T2 , T3 , R > combine (
122
117
flow : Flow <T1 >,
123
118
flow2 : Flow <T2 >,
@@ -137,7 +132,6 @@ public inline fun <T1, T2, T3, R> combine(
137
132
* The receiver of the [transform] is [FlowCollector] and thus `transform` is a
138
133
* generic function that may transform emitted element, skip it or emit it multiple times.
139
134
*/
140
- @ExperimentalCoroutinesApi
141
135
public inline fun <T1 , T2 , T3 , R > combineTransform (
142
136
flow : Flow <T1 >,
143
137
flow2 : Flow <T2 >,
@@ -155,7 +149,6 @@ public inline fun <T1, T2, T3, R> combineTransform(
155
149
* Returns a [Flow] whose values are generated with [transform] function by combining
156
150
* the most recently emitted values by each flow.
157
151
*/
158
- @ExperimentalCoroutinesApi
159
152
public inline fun <T1 , T2 , T3 , T4 , R > combine (
160
153
flow : Flow <T1 >,
161
154
flow2 : Flow <T2 >,
@@ -177,7 +170,6 @@ public inline fun <T1, T2, T3, T4, R> combine(
177
170
* The receiver of the [transform] is [FlowCollector] and thus `transform` is a
178
171
* generic function that may transform emitted element, skip it or emit it multiple times.
179
172
*/
180
- @ExperimentalCoroutinesApi
181
173
public inline fun <T1 , T2 , T3 , T4 , R > combineTransform (
182
174
flow : Flow <T1 >,
183
175
flow2 : Flow <T2 >,
@@ -197,7 +189,6 @@ public inline fun <T1, T2, T3, T4, R> combineTransform(
197
189
* Returns a [Flow] whose values are generated with [transform] function by combining
198
190
* the most recently emitted values by each flow.
199
191
*/
200
- @ExperimentalCoroutinesApi
201
192
public inline fun <T1 , T2 , T3 , T4 , T5 , R > combine (
202
193
flow : Flow <T1 >,
203
194
flow2 : Flow <T2 >,
@@ -221,7 +212,6 @@ public inline fun <T1, T2, T3, T4, T5, R> combine(
221
212
* The receiver of the [transform] is [FlowCollector] and thus `transform` is a
222
213
* generic function that may transform emitted element, skip it or emit it multiple times.
223
214
*/
224
- @ExperimentalCoroutinesApi
225
215
public inline fun <T1 , T2 , T3 , T4 , T5 , R > combineTransform (
226
216
flow : Flow <T1 >,
227
217
flow2 : Flow <T2 >,
@@ -243,7 +233,6 @@ public inline fun <T1, T2, T3, T4, T5, R> combineTransform(
243
233
* Returns a [Flow] whose values are generated with [transform] function by combining
244
234
* the most recently emitted values by each flow.
245
235
*/
246
- @ExperimentalCoroutinesApi
247
236
public inline fun <reified T , R > combine (
248
237
vararg flows : Flow <T >,
249
238
crossinline transform : suspend (Array <T >) -> R
@@ -257,7 +246,6 @@ public inline fun <reified T, R> combine(
257
246
* The receiver of the [transform] is [FlowCollector] and thus `transform` is a
258
247
* generic function that may transform emitted element, skip it or emit it multiple times.
259
248
*/
260
- @ExperimentalCoroutinesApi
261
249
public inline fun <reified T , R > combineTransform (
262
250
vararg flows : Flow <T >,
263
251
@BuilderInference crossinline transform : suspend FlowCollector <R >.(Array <T >) -> Unit
@@ -269,7 +257,6 @@ public inline fun <reified T, R> combineTransform(
269
257
* Returns a [Flow] whose values are generated with [transform] function by combining
270
258
* the most recently emitted values by each flow.
271
259
*/
272
- @ExperimentalCoroutinesApi
273
260
public inline fun <reified T , R > combine (
274
261
flows : Iterable <Flow <T >>,
275
262
crossinline transform : suspend (Array <T >) -> R
@@ -289,7 +276,6 @@ public inline fun <reified T, R> combine(
289
276
* The receiver of the [transform] is [FlowCollector] and thus `transform` is a
290
277
* generic function that may transform emitted element, skip it or emit it multiple times.
291
278
*/
292
- @ExperimentalCoroutinesApi
293
279
public inline fun <reified T , R > combineTransform (
294
280
flows : Iterable <Flow <T >>,
295
281
@BuilderInference crossinline transform : suspend FlowCollector <R >.(Array <T >) -> Unit
@@ -313,5 +299,4 @@ public inline fun <reified T, R> combineTransform(
313
299
* }
314
300
* ```
315
301
*/
316
- @ExperimentalCoroutinesApi
317
302
public fun <T1 , T2 , R > Flow<T1>.zip (other : Flow <T2 >, transform : suspend (T1 , T2 ) -> R ): Flow <R > = zipImpl(this , other, transform)
0 commit comments