Skip to content

FSM-like nested timers #910

Discussion options

You must be logged in to vote

Heya,
This sounds like a perfect case to use the Switch combinator!
Basically, the Switch closes the current observable once a new one is created. You can leverage this behavior to alternate between the conditions (i.e. Moving -> not moving and vice-versa).

Check the attached workflow for a possible solution (i think....)
Let me know if it works !

example_fsm.zip

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@emilyjanedennis
Comment options

Answer selected by emilyjanedennis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants