Create a new RelayLiveness instance
Configuration options for the liveness tracker
An observable of all relays that are dead
An observable of all relays that are online or not in backoff
An observable of all relays that are offline
An observable of all relays that are online
ReadonlyseenRelays that have been seen this session. this should be used when checking dead relays for liveness
Optional ReadonlystorageStorage adapter for persistence
An observable of all relays that are dead or in backoff
Relays that are known to be dead
Relays that are online or not in backoff
Relays that are known to be offline
Relays that are known to be online
Relays that are dead or in backoff
Disconnects pools and removes browser listeners and retry timers
Filter relay list, removing dead relays and relays in backoff
Get remaining backoff time for a relay (in ms)
Get all seen relays (for debugging/monitoring)
Check if a relay is currently in backoff period
Load relay states from storage
Record a failed connection
The relay URL that failed
Records transport failures from requests while ignoring policy errors and ambiguous deadlines
OptionalstartedAt: numberRecord a successful connection
The relay URL that succeeded
Reset state for one or all relays
Optionalrelay: string
Optional specific relay URL to reset, or reset all if not provided
Revive a dead relay with the max backoff delay
Save all known relays and their states to storage
Sets client connectivity from a platform network signal
Record and manage liveness reports for relays