File tree 1 file changed +2
-2
lines changed
kotlinx-coroutines-core/common/src/flow
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ public fun <T> BroadcastChannel<T>.asFlow(): Flow<T> = flow {
151
151
* that collects the given flow and thus resulting channel should be properly closed or cancelled.
152
152
*
153
153
* A channel with [default][Channel.Factory.BUFFERED] buffer size is created.
154
- * Use [buffer] operator on the flow before calling `produce ` to specify a value other than
154
+ * Use [buffer] operator on the flow before calling `broadcastIn ` to specify a value other than
155
155
* default and to control what happens when data is produced faster than it is consumed,
156
156
* that is to control backpressure behavior.
157
157
*/
@@ -169,7 +169,7 @@ public fun <T> Flow<T>.broadcastIn(
169
169
* that collects the given flow and thus resulting channel should be properly closed or cancelled.
170
170
*
171
171
* A channel with [default][Channel.Factory.BUFFERED] buffer size is created.
172
- * Use [buffer] operator on the flow before calling `produce ` to specify a value other than
172
+ * Use [buffer] operator on the flow before calling `produceIn ` to specify a value other than
173
173
* default and to control what happens when data is produced faster than it is consumed,
174
174
* that is to control backpressure behavior.
175
175
*/
You can’t perform that action at this time.
0 commit comments