Listeners bug
Create to reactions. Each should have same listener. To a modifier changed – for example.
If one listener (upper in order) have ‘exit script here’ in any action blocks – the other listener will not be triggered.
Is that a feature, dear developers?
For me it looks like a really odd and harmful way to build apps.
Better way is to manage such structure in a way where ‘exit script here’ will affect only the reaction where this action is taking place. So it will not affect other reactions with same listener.
Reactions add their code to which ever listener you select.
So even though they are visually separated inside CSS they will be merged in the actual script.
This is why ‘exit script here’ will cause this behaviour.
You would need a way to exit a try block in python without exiting the entire method.
Maybe if you use the loop section of the action block, you could exit it with:
continue
The other way would be to only run an action block if modifier is set to a specific value. You could then change the modifier value based on your needs in each action block.
Still need your attention to this topic.
Sign up
User registration is currently not allowed.
Is there an option for ‘exit a reaction’?
Like reaction have several actions, and at some point I need to stop executing next actions of this reaction.