State

State Lifecycle

Enumerates each state that an executable guest script may inhabit during its lifecycle. The process of these states is described in the main ExecutableScript docs.

  • State.UNINITIALIZED: The script has just been created and has not yet initialized at all.

  • State.PARSED: The script has been linked and parsed, but has not been evaluated yet.

  • State.EVALUATED: The script has been evaluated but has not been executed yet.

  • State.EXECUTED: The script has executed before and is fully cached, configuration permitting.

Entries

Link copied to clipboard

The script has just been created and has not yet initialized at all.

Link copied to clipboard

The script has been linked and parsed, but has not been evaluated yet.

Link copied to clipboard

The script has been evaluated but has not been executed yet.

Link copied to clipboard

The script has executed before and is fully cached.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.