File tree 1 file changed +4
-4
lines changed
kotlinx-coroutines-core/common/src/flow
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import kotlinx.coroutines.flow.internal.unsafeFlow as flow
17
17
18
18
/* *
19
19
* Creates a _cold_ flow from the given suspendable [block].
20
- * The flow is _cold_ means that the [block] is called every time a terminal operator is applied to the resulting flow.
20
+ * The flow being _cold_ means that the [block] is called every time a terminal operator is applied to the resulting flow.
21
21
*
22
22
* Example of usage:
23
23
*
@@ -149,7 +149,7 @@ private object EmptyFlow : Flow<Nothing> {
149
149
150
150
/* *
151
151
* Creates a _cold_ flow that produces values from the given array.
152
- * The flow is _cold_ means that the array components are read every time a terminal operator is applied
152
+ * The flow being _cold_ means that the array components are read every time a terminal operator is applied
153
153
* to the resulting flow.
154
154
*/
155
155
public fun <T > Array<T>.asFlow (): Flow <T > = flow {
@@ -160,7 +160,7 @@ public fun <T> Array<T>.asFlow(): Flow<T> = flow {
160
160
161
161
/* *
162
162
* Creates a _cold_ flow that produces values from the array.
163
- * The flow is _cold_ means that the array components are read every time a terminal operator is applied
163
+ * The flow being _cold_ means that the array components are read every time a terminal operator is applied
164
164
* to the resulting flow.
165
165
*/
166
166
public fun IntArray.asFlow (): Flow <Int > = flow {
@@ -171,7 +171,7 @@ public fun IntArray.asFlow(): Flow<Int> = flow {
171
171
172
172
/* *
173
173
* Creates a _cold_ flow that produces values from the given array.
174
- * The flow is _cold_ means that the array components are read every time a terminal operator is applied
174
+ * The flow being _cold_ means that the array components are read every time a terminal operator is applied
175
175
* to the resulting flow.
176
176
*/
177
177
public fun LongArray.asFlow (): Flow <Long > = flow {
You can’t perform that action at this time.
0 commit comments