Create On Destroying ProtoFlux Node Page |
get rid of bogus input |
||
Line 9: | Line 9: | ||
On Destroying is a ProtoFlux node that sends an impulse out of Trigger whenever the node is marked for destruction. This will not preserve [[Impulses#ASync|Async]] tasks, as since those create delays they will be destroyed before execution of the task finishes. | On Destroying is a ProtoFlux node that sends an impulse out of Trigger whenever the node is marked for destruction. This will not preserve [[Impulses#ASync|Async]] tasks, as since those create delays they will be destroyed before execution of the task finishes. | ||
== Outputs == | == Outputs == |
Revision as of 18:35, 17 February 2024
On Destroying
Events
On Destroying is a ProtoFlux node that sends an impulse out of Trigger whenever the node is marked for destruction. This will not preserve Async tasks, as since those create delays they will be destroyed before execution of the task finishes.
Outputs
Trigger (Call)
Sends an Impulse when the node is marked for destruction which may include all the rest of the code, but nothing is destroyed yet.
Examples
-
On Destroying being used to activate a large bit of code without any async tasks that makes an effect.