Appearance
Home > resol-vbus-core-toolbox > ScriptEngine
ScriptEngine class
The script engine.
Signature:
typescript
export declare class ScriptEngine
Constructors
Constructor | Modifiers | Description |
---|---|---|
Create a new script engine. |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
number | Number of scripts that have already completed. | ||
Used to synchronize all completed scripts. | |||
The list of connections. | |||
Used to synchronize all | |||
Used to synchronize all | |||
boolean | Indicates whether the engine is already running. | ||
Script[] | The list of scripts. |
Methods
Method | Modifiers | Description |
---|---|---|
Augment user-provided (or newly create) options for the | ||
Create a | ||
Create a new script. | ||
The | ||
Initialize this script engine from the provided command line arguments. | ||
Initialize this script engine from the provided config. | ||
Load, parse and return the config from its file contents. | ||
Load, parse and initialize a script from its file contents. | ||
Pump incoming data from a connection to all scripts. | ||
Pump outgoing data from a script to the respective connection. | ||
The | ||
Run all scripts until they disconnected and completed (or failed). | ||
Run a script and record its completion. | ||
Wait for all scripts to call | ||
Wait for all scripts to call |