mirror of
https://github.com/logos-messaging/js-waku.git
synced 2026-01-07 16:23:09 +00:00
* move health indicator under waku.events and expose from Waku as a value * update tests * make new type for libp2p event handlers * fix types
17 lines
343 B
TypeScript
17 lines
343 B
TypeScript
export enum HealthStatus {
|
|
/**
|
|
* No peer connections
|
|
*/
|
|
Unhealthy = "Unhealthy",
|
|
|
|
/**
|
|
* At least 1 peer supporting both Filter and LightPush protocols
|
|
*/
|
|
MinimallyHealthy = "MinimallyHealthy",
|
|
|
|
/**
|
|
* At least 2 peers supporting both Filter and LightPush protocols
|
|
*/
|
|
SufficientlyHealthy = "SufficientlyHealthy"
|
|
}
|