If an action execution crashes after a
TriggerSleepActionin the same action execution, subsequent actions will not be run.
Adds an action to be called when the given trigger is fired through registered events or through
More than one action can be added to the trigger. The actions run in the order they were added.
The same function can be used more than once on the same trigger.
Actions wait for their forerunner to finish. So if there are
TriggerSleepActions, subsequent actions will be delayed accordingly.
If an action execution crashes, subsequent actions will be unaffected and still be called.
New actions added to the trigger during the execution of the actions won't be subject for execution for this run.
- return type
- Source code
native TriggerAddAction takes trigger whichTrigger, code actionFunc returns triggeraction