Skip to main content

Code Actions

As explained in the Getting Started guide, it is generally not advisable to execute plain code in Quantum events, as this code will not be treated as an action and therefore will not inherit the benefits of qScript.

Instead, VNgen offers 'wrappers' which allow executing your own scripts and code--without modification--as if they were actions. Although it's impossible to fully adapt arbitrary code automatically, using a wrapper is a powerful way to implement custom code without learning the inner workings of qScript.

In this section we'll examine how to execute your own scripts and plain code as actions in Quantum events.