Skip to content

Commit 8627cc3

Browse files
authored
Fix an explanation of flow emit (#4391)
1 parent 5f8035c commit 8627cc3

File tree

1 file changed

+1
-1
lines changed
  • kotlinx-coroutines-core/common/src/flow

1 file changed

+1
-1
lines changed

kotlinx-coroutines-core/common/src/flow/Flow.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ import kotlin.coroutines.*
9595
* ```
9696
*
9797
* From the implementation point of view, it means that all flow implementations should
98-
* only emit from the same coroutine.
98+
* only emit from the same coroutine context.
9999
* This constraint is efficiently enforced by the default [flow] builder.
100100
* The [flow] builder should be used if the flow implementation does not start any coroutines.
101101
* Its implementation prevents most of the development mistakes:

0 commit comments

Comments
 (0)