Skip to content

Commit

Permalink
Update kotlinx-coroutines-core/common/src/flow/StateFlow.kt
Browse files Browse the repository at this point in the history
Co-authored-by: Vsevolod Tolstopyatov <qwwdfsad@gmail.com>
  • Loading branch information
elizarov and qwwdfsad committed May 6, 2020
1 parent eba6be6 commit 0ac7af6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kotlinx-coroutines-core/common/src/flow/StateFlow.kt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import kotlin.native.concurrent.*
* Updates to the [value] are always [conflated][Flow.conflate]. So a slow collector skips fast updates,
* but always collects the most recently emitted value.
*
* [StateFlow] is useful as a data-model class to represented any kind of state.
* [StateFlow] is useful as a data-model class to represent any kind of state.
* Derived values can be defined using various operators on the flows, with [combine] operator being especially
* useful to combine values from multiple state flows using arbitrary functions.
*
Expand Down

0 comments on commit 0ac7af6

Please sign in to comment.