/
DISABLE Library
DISABLE Library
This is a simple utility library for disabling a component which you do not want run.
This can be useful in various scenarios such as when you are working on a new interface that is not ready to be run, especially in production! To avoid having any team members start the component you can use this utility DISABLE Library and place #disabled
in the component description.
function main(Data)
DISABLEcheck();
end
DISABLEcheck()
checks the description of the component for #disabled
and will throw an error if you are not in the editor and the component is run.
The component will be stopped and an error message will be logged:
, multiple selections available,
Related content
Making components interruptible
Making components interruptible
More like this
DEV Library
DEV Library
More like this
component.isStopping()
component.isStopping()
More like this
Locking Libraries
Locking Libraries
More like this
Edit Connections
Edit Connections
More like this
iguana.stopOnError()
iguana.stopOnError()
More like this