ha4us-scripts
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Script
Event
Type
Ha4us
Script
constructor
$log
_running
_source
autostart
domain
event$
name
opts
path
result
sandbox
script
topic
running
source
compile
destroy
emit
enter
Domain
init
prepare
Stack
restart
start
stop
to
Ha4us
Object
Sandbox
Script
Event
Ha4us
Scripting
Environment
Logger
Script
Options
Adapter
ADAPTER_
OPTIONS
Hierarchy
Ha4usScript
Index
Constructors
constructor
Properties
$log
_running
_source
autostart
domain
event$
name
opts
path
result
sandbox
script
topic
Accessors
running
source
Methods
compile
destroy
emit
enter
Domain
init
prepare
Stack
restart
start
stop
to
Ha4us
Object
Constructors
constructor
new
Ha4us
Script
(
scriptObject
:
Ha4usObject
, opts
:
ScriptOptions
)
:
Ha4usScript
Parameters
scriptObject:
Ha4usObject
opts:
ScriptOptions
Returns
Ha4usScript
Properties
$log
$log
:
Ha4usLogger
_running
_running
:
boolean
= false
_source
_source
:
string
autostart
autostart
:
boolean
= false
domain
domain
:
Domain
event$
event$
:
Subject
<
ScriptEvent
>
= new Subject<ScriptEvent>()
name
name
:
string
opts
opts
:
ScriptOptions
path
path
:
string
result
result
:
any
sandbox
sandbox
:
Sandbox
script
script
:
Script
topic
topic
:
string
Accessors
running
running
:
source
source
:
Methods
compile
compile
(
)
:
Promise
<
Ha4usScript
>
Returns
Promise
<
Ha4usScript
>
destroy
destroy
(
)
:
Promise
<
Ha4usScript
>
Returns
Promise
<
Ha4usScript
>
emit
emit
(
type
:
ScriptEventType
, data
?:
any
)
:
void
Parameters
type:
ScriptEventType
Optional
data:
any
Returns
void
enter
Domain
enter
Domain
(
)
:
void
Returns
void
init
init
(
)
:
Promise
<
Ha4usScript
>
Returns
Promise
<
Ha4usScript
>
prepare
Stack
prepare
Stack
(
e
:
Error
, match
:
RegExp
)
:
string
Parameters
e:
Error
match:
RegExp
Returns
string
restart
restart
(
)
:
Promise
<
this
>
Returns
Promise
<
this
>
start
start
(
)
:
Promise
<
Ha4usScript
>
Returns
Promise
<
Ha4usScript
>
stop
stop
(
)
:
Promise
<
Ha4usScript
>
Returns
Promise
<
Ha4usScript
>
to
Ha4us
Object
to
Ha4us
Object
(
)
:
Partial
<
Ha4usObject
>
Returns
Partial
<
Ha4usObject
>
Generated using
TypeDoc