Skip to content

Home > resol-vbus-core-toolbox > ScriptConstructorOptions

ScriptConstructorOptions interface

Options for the constructor of Script.

Signature:

typescript
export interface ScriptConstructorOptions

Properties

Property

Modifiers

Type

Description

absFilename

string

The absolute filename of the script.

specification

core.Specification

The VBus specification to use.

Methods

Method

Description

onConnect(script)

Callback used to synchronize all $.connect calls.

onDisconnect(script)

Callback used to synchronize all $.disconnect calls.

onTransmit(script, channel, buffer)

Callback used to transmit data from this script using $.send.