...
Compound actions work the same as a rule. Suppose, for example, that in addition to putting up a notification, you wished to use send_directive:
Code Block | ||||
---|---|---|---|---|
| ||||
send_warning = defaction(msg) { every { notify("Warning!", msg); send_directive("a_warning_was_given") with message = msg } } |
...