Next: Examples, Up: Dynamic Control: The TRIGGER Construct [Contents]
The two constructs are designed for different architectural needs:
target { ... }):Use this when you need to drive one specific output based on various complex conditions. It’s perfect for centralized control over a single device (like a lightbulb that has many reasons to be on or off).
TRIGGER:Use this when you want to synchronize multiple actions to a single event. It’s the "domino effect" of automation.