js-waku/packages/interfaces/src/health_status.ts
Sasha 27292edabc
feat!: unify events under one source (#2473)
* move health indicator under waku.events and expose from Waku as a value

* update tests

* make new type for libp2p event handlers

* fix types
2025-07-15 00:59:45 +02:00

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"
}