Interface: Subscription
Defined in: index.ts:898 (opens in a new tab)
MethodsLink to this section
getHealth()Link to this section
getHealth(): {
connected: number;
total: number;
};Defined in: index.ts:902 (opens in a new tab)
Relays whose subscription is currently open.
ReturnsLink to this section
{
connected: number;
total: number;
}| Name | Type | Defined in |
|---|---|---|
connected | number | index.ts:902 (opens in a new tab) |
total | number | index.ts:902 (opens in a new tab) |
stop()Link to this section
stop(): void;Defined in: index.ts:900 (opens in a new tab)
CLOSE the subscription on every relay and stop reconnecting.
ReturnsLink to this section
void