Search
Preparing search index...
The search index is not available
@zero_one/client
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@zero_one/client
MarginsCluster
Class MarginsCluster
Hierarchy
MarginsCluster
Index
Constructors
constructor
Properties
cluster
config
control
Listener
control
To
Margin
Key
event
Emitter
hard
Refresh
Interval
Id
margin
Listener
margins
program
state
Methods
hard
Refresh
Accounts
kill
launch
load
Accounts
log
start
Controls
Listener
start
Margins
Listener
Constructors
constructor
new
Margins
Cluster
(
program
:
Program
<
Zo
>
, cluster
:
Cluster
, config
?:
MarginsClusterConfig
)
:
MarginsCluster
Parameters
program:
Program
<
Zo
>
cluster:
Cluster
config:
MarginsClusterConfig
= DEFAULT_MARGINS_CLUSTER_CONFIG
Returns
MarginsCluster
Properties
Readonly
cluster
cluster
:
Cluster
Readonly
config
config
:
MarginsClusterConfig
= DEFAULT_MARGINS_CLUSTER_CONFIG
Private
control
Listener
control
Listener
:
number
= 0
Private
control
To
Margin
Key
control
To
Margin
Key
:
Map
<
string
,
string
>
= ...
event
Emitter
event
Emitter
:
null
|
EventEmitter
<
MarginsClusterEvents
,
any
>
hard
Refresh
Interval
Id
hard
Refresh
Interval
Id
:
any
Private
margin
Listener
margin
Listener
:
number
= 0
margins
margins
:
{}
= {}
Type declaration
[
key:
string
]:
Margin
Readonly
program
program
:
Program
<
Zo
>
state
state
:
State
Methods
hard
Refresh
Accounts
hard
Refresh
Accounts
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
kill
kill
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
launch
launch
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Private
load
Accounts
load
Accounts
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Private
log
log
(
...
msg
:
any
[]
)
:
void
Log a message to the console if verbose is enabled
Parameters
Rest
...
msg:
any
[]
Returns
void
Private
start
Controls
Listener
start
Controls
Listener
(
)
:
void
Returns
void
Private
start
Margins
Listener
start
Margins
Listener
(
)
:
void
Returns
void
Exports
Margins
Cluster
constructor
cluster
config
control
Listener
control
To
Margin
Key
event
Emitter
hard
Refresh
Interval
Id
margin
Listener
margins
program
state
hard
Refresh
Accounts
kill
launch
load
Accounts
log
start
Controls
Listener
start
Margins
Listener
Generated using
TypeDoc
Log a message to the console if verbose is enabled