switcher

Constructs a behavior whose value is equal to the state's current behavior's value at all times.

This can be viewed as a behavior that switches to a new behavior whenever the Signal updates.

Compare with switcher from reflex-frp and see also Behavior.until.