@nats-io/services
Preparing search index...
ServiceClient
Interface ServiceClient
interface
ServiceClient
{
info
(
name
?:
string
,
id
?:
string
)
:
Promise
<
QueuedIterator
<
ServiceInfo
>
>
;
ping
(
name
?:
string
,
id
?:
string
)
:
Promise
<
QueuedIterator
<
ServiceIdentity
>
>
;
stats
(
name
?:
string
,
id
?:
string
)
:
Promise
<
QueuedIterator
<
ServiceStats
>
>
;
}
Index
Methods
info
ping
stats
Methods
info
info
(
name
?:
string
,
id
?:
string
)
:
Promise
<
QueuedIterator
<
ServiceInfo
>
>
Requests info from services
Parameters
Optional
name
:
string
Optional
id
:
string
Returns
Promise
<
QueuedIterator
<
ServiceInfo
>
>
ping
ping
(
name
?:
string
,
id
?:
string
)
:
Promise
<
QueuedIterator
<
ServiceIdentity
>
>
Pings services
Parameters
Optional
name
:
string
optional
Optional
id
:
string
optional
Returns
Promise
<
QueuedIterator
<
ServiceIdentity
>
>
stats
stats
(
name
?:
string
,
id
?:
string
)
:
Promise
<
QueuedIterator
<
ServiceStats
>
>
Requests all the stats from services
Parameters
Optional
name
:
string
Optional
id
:
string
Returns
Promise
<
QueuedIterator
<
ServiceStats
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
info
ping
stats
@nats-io/services
Loading...
Requests info from services