SpecialFlowValue
interface SpecialFlowValue
These interfaces can be used to mark object you emit to a Flow as a special value.
Extension methods to Flow can be used to filter and/or terminate on these values.
Inheritors
Types
Link copied to clipboard
Indicates this value is the last in a series. This is useful in particular to terminate collection from endless flows such as SharedFlow and StateFlow.
Link copied to clipboard
Indicates the value is less meaningful (e.g. an initial state with no value yet) that can usually be skipped