Tweet Intro Common misconception is that you cannot have state with Rx. Well you can - and thereâs a special operator that helps you to: scan. If youâve ever used reduce in Swift - scan is a very similar operator but reduce goes over the complete sequence and gives you the final value of the accumulator while scan emits each intermediate value as well. If you havenât used reduce - no worries youâl
{{#tags}}- {{label}}
{{/tags}}