...
Code Block | ||||
---|---|---|---|---|
| ||||
raise explicit event '"foo'" with a = "hello" and b = 4 + x; |
...
Info | ||
---|---|---|
| ||
In the node pico engine, the modifier clause has this form (note, no "and"):
making the example
|
...
Code Block | ||||
---|---|---|---|---|
| ||||
raise explicit event '"foo' " attributes event:attrs() |
This raises the event explicit:foo
with all of the attributes that were passed into the enclosing rule.
...
Code Block | ||||
---|---|---|---|---|
| ||||
raise explicit event '"foo'" with a = "hello" and b = 4 + x and _api = "sky"; |
In the (Classic) Blue Event API, explicit events will be raised to the current ruleset unless a ruleset or an array of rulesets is specified using the for
clause.
...
Code Block | ||||
---|---|---|---|---|
| ||||
raise explicit event '"foo'" with a = "hello" and b = 4 + x if (flipper eq "two"); |
...