Search
Preparing search index...
The search index is not available
@tracer-protocol/pools-js
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@tracer-protocol/pools-js
MultiplePoolWatcher
Class MultiplePoolWatcher
Hierarchy
TypedEmitter
<
MultiplePoolWatcherEvents
>
MultiplePoolWatcher
Index
Constructors
constructor
Properties
chain
Id
commitment
Window
Buffer
ignore
Events
node
Url
pool
Addresses
default
Max
Listeners
Methods
add
Listener
emit
event
Names
get
Max
Listeners
initialize
Pool
Watchers
listener
Count
listeners
off
on
once
prepend
Listener
prepend
Once
Listener
raw
Listeners
remove
All
Listeners
remove
Listener
set
Max
Listeners
Constructors
constructor
new
Multiple
Pool
Watcher
(
args
:
MultiplePoolWatcherConstructorArgs
)
:
MultiplePoolWatcher
Parameters
args:
MultiplePoolWatcherConstructorArgs
Returns
MultiplePoolWatcher
Properties
chain
Id
chain
Id
:
string
commitment
Window
Buffer
commitment
Window
Buffer
:
number
ignore
Events
ignore
Events
:
undefined
|
{}
node
Url
node
Url
:
string
pool
Addresses
pool
Addresses
:
string
[]
Static
default
Max
Listeners
default
Max
Listeners
:
number
Methods
add
Listener
add
Listener
<
U
>
(
event
:
U
, listener
:
MultiplePoolWatcherEvents
[
U
]
)
:
MultiplePoolWatcher
Type parameters
U
:
keyof
MultiplePoolWatcherEvents
Parameters
event:
U
listener:
MultiplePoolWatcherEvents
[
U
]
Returns
MultiplePoolWatcher
emit
emit
<
U
>
(
event
:
U
,
...
args
:
Parameters
<
MultiplePoolWatcherEvents
[
U
]
>
)
:
boolean
Type parameters
U
:
keyof
MultiplePoolWatcherEvents
Parameters
event:
U
Rest
...
args:
Parameters
<
MultiplePoolWatcherEvents
[
U
]
>
Returns
boolean
event
Names
event
Names
<
U
>
(
)
:
U
[]
Type parameters
U
:
keyof
MultiplePoolWatcherEvents
Returns
U
[]
get
Max
Listeners
get
Max
Listeners
(
)
:
number
Returns
number
initialize
Pool
Watchers
initialize
Pool
Watchers
(
)
:
Promise
<
void
[]
>
Returns
Promise
<
void
[]
>
listener
Count
listener
Count
(
type
:
keyof
MultiplePoolWatcherEvents
)
:
number
Parameters
type:
keyof
MultiplePoolWatcherEvents
Returns
number
listeners
listeners
<
U
>
(
type
:
U
)
:
MultiplePoolWatcherEvents
[
U
]
[]
Type parameters
U
:
keyof
MultiplePoolWatcherEvents
Parameters
type:
U
Returns
MultiplePoolWatcherEvents
[
U
]
[]
off
off
<
U
>
(
event
:
U
, listener
:
MultiplePoolWatcherEvents
[
U
]
)
:
MultiplePoolWatcher
Type parameters
U
:
keyof
MultiplePoolWatcherEvents
Parameters
event:
U
listener:
MultiplePoolWatcherEvents
[
U
]
Returns
MultiplePoolWatcher
on
on
<
U
>
(
event
:
U
, listener
:
MultiplePoolWatcherEvents
[
U
]
)
:
MultiplePoolWatcher
Type parameters
U
:
keyof
MultiplePoolWatcherEvents
Parameters
event:
U
listener:
MultiplePoolWatcherEvents
[
U
]
Returns
MultiplePoolWatcher
once
once
<
U
>
(
event
:
U
, listener
:
MultiplePoolWatcherEvents
[
U
]
)
:
MultiplePoolWatcher
Type parameters
U
:
keyof
MultiplePoolWatcherEvents
Parameters
event:
U
listener:
MultiplePoolWatcherEvents
[
U
]
Returns
MultiplePoolWatcher
prepend
Listener
prepend
Listener
<
U
>
(
event
:
U
, listener
:
MultiplePoolWatcherEvents
[
U
]
)
:
MultiplePoolWatcher
Type parameters
U
:
keyof
MultiplePoolWatcherEvents
Parameters
event:
U
listener:
MultiplePoolWatcherEvents
[
U
]
Returns
MultiplePoolWatcher
prepend
Once
Listener
prepend
Once
Listener
<
U
>
(
event
:
U
, listener
:
MultiplePoolWatcherEvents
[
U
]
)
:
MultiplePoolWatcher
Type parameters
U
:
keyof
MultiplePoolWatcherEvents
Parameters
event:
U
listener:
MultiplePoolWatcherEvents
[
U
]
Returns
MultiplePoolWatcher
raw
Listeners
raw
Listeners
<
U
>
(
type
:
U
)
:
MultiplePoolWatcherEvents
[
U
]
[]
Type parameters
U
:
keyof
MultiplePoolWatcherEvents
Parameters
type:
U
Returns
MultiplePoolWatcherEvents
[
U
]
[]
remove
All
Listeners
remove
All
Listeners
(
event
?:
keyof
MultiplePoolWatcherEvents
)
:
MultiplePoolWatcher
Parameters
Optional
event:
keyof
MultiplePoolWatcherEvents
Returns
MultiplePoolWatcher
remove
Listener
remove
Listener
<
U
>
(
event
:
U
, listener
:
MultiplePoolWatcherEvents
[
U
]
)
:
MultiplePoolWatcher
Type parameters
U
:
keyof
MultiplePoolWatcherEvents
Parameters
event:
U
listener:
MultiplePoolWatcherEvents
[
U
]
Returns
MultiplePoolWatcher
set
Max
Listeners
set
Max
Listeners
(
n
:
number
)
:
MultiplePoolWatcher
Parameters
n:
number
Returns
MultiplePoolWatcher
Exports
Multiple
Pool
Watcher
constructor
chain
Id
commitment
Window
Buffer
ignore
Events
node
Url
pool
Addresses
default
Max
Listeners
add
Listener
emit
event
Names
get
Max
Listeners
initialize
Pool
Watchers
listener
Count
listeners
off
on
once
prepend
Listener
prepend
Once
Listener
raw
Listeners
remove
All
Listeners
remove
Listener
set
Max
Listeners
Generated using
TypeDoc