Search
Preparing search index...
The search index is not available
node-etcd3
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
KeepAliveToken
Class KeepAliveToken
Hierarchy
EventEmitter
KeepAliveToken
Implements
EventEmitter
Index
Constructors
constructor
Properties
handler
interval
Id
lease
Event
Emitter
default
Max
Listeners
Methods
add
Listener
cancel
emit
get
Max
Listeners
listener
Count
listeners
on
once
remove
All
Listeners
remove
Listener
set
Max
Listeners
listener
Count
Constructors
constructor
new
Keep
Alive
Token
(
handler
:
any
, lease
:
string
, interval
?:
number
)
:
KeepAliveToken
Parameters
handler:
any
lease:
string
Default value
interval:
number
= 1000
Returns
KeepAliveToken
Properties
handler
handler
:
any
interval
Id
interval
Id
:
any
lease
lease
:
string
Static
Event
Emitter
Event
Emitter
:
EventEmitter
Static
default
Max
Listeners
default
Max
Listeners
:
number
Methods
add
Listener
add
Listener
(
event
:
string
, listener
:
Function
)
Parameters
event:
string
listener:
Function
cancel
cancel
(
)
:
void
Returns
void
emit
emit
(
event
:
string
,
...
args
:
any
[]
)
:
boolean
Parameters
event:
string
Rest
...
args:
any
[]
Returns
boolean
get
Max
Listeners
get
Max
Listeners
(
)
:
number
Returns
number
listener
Count
listener
Count
(
type
:
string
)
:
number
Parameters
type:
string
Returns
number
listeners
listeners
(
event
:
string
)
:
Function
[]
Parameters
event:
string
Returns
Function
[]
on
on
(
event
:
string
, listener
:
Function
)
Parameters
event:
string
listener:
Function
once
once
(
event
:
string
, listener
:
Function
)
Parameters
event:
string
listener:
Function
remove
All
Listeners
remove
All
Listeners
(
event
?:
string
)
Parameters
Optional
event:
string
remove
Listener
remove
Listener
(
event
:
string
, listener
:
Function
)
Parameters
event:
string
listener:
Function
set
Max
Listeners
set
Max
Listeners
(
n
:
number
)
Parameters
n:
number
Static
listener
Count
listener
Count
(
emitter
:
EventEmitter
, event
:
string
)
:
number
Parameters
emitter:
EventEmitter
event:
string
Returns
number
Globals
Etcd
Etcd
Error
Keep
Alive
Token
constructor
handler
interval
Id
lease
Event
Emitter
default
Max
Listeners
add
Listener
cancel
emit
get
Max
Listeners
listener
Count
listeners
on
once
remove
All
Listeners
remove
Listener
set
Max
Listeners
listener
Count
EtcdKV
Etcd
Options
Generated using
TypeDoc