select
Select a sub-state from the State and emit it if it is different from the previous one.
Parameters
A function that takes the State and returns a sub-state.
Select two sub-states from the source Flow and combine them into a Result.
The projector will be invoked only when one of the sub-states is changed. The returned flow will emit the result of projector, and all subsequent results repetitions of the same value are filtered out (same as distinctUntilChanged).
Parameters
The first selector to be used to select first sub-states.
The second selector to be used to select second sub-states.
The projector to be used to combine the sub-states into a result.
Select three sub-states from the source Flow and combine them into a Result.
The projector will be invoked only when one of the sub-states is changed. The returned flow will emit the result of projector, and all subsequent results repetitions of the same value are filtered out (same as distinctUntilChanged).
Parameters
The first selector to be used to select first sub-states.
The second selector to be used to select second sub-states.
The third selector to be used to select third sub-states.
The projector to be used to combine the sub-states into a result.
Select four sub-states from the source Flow and combine them into a Result.
The projector will be invoked only when one of the sub-states is changed. The returned flow will emit the result of projector, and all subsequent results repetitions of the same value are filtered out (same as distinctUntilChanged).
Parameters
The first selector to be used to select first sub-states.
The second selector to be used to select second sub-states.
The third selector to be used to select third sub-states.
The fourth selector to be used to select fourth sub-states.
The projector to be used to combine the sub-states into a result.
Select five sub-states from the source Flow and combine them into a Result.
The projector will be invoked only when one of the sub-states is changed. The returned flow will emit the result of projector, and all subsequent results repetitions of the same value are filtered out (same as distinctUntilChanged).
Parameters
The first selector to be used to select first sub-states.
The second selector to be used to select second sub-states.
The third selector to be used to select third sub-states.
The fourth selector to be used to select fourth sub-states.
The fifth selector to be used to select fifth sub-states.
The projector to be used to combine the sub-states into a result.