interface IHealthManager {
    getHealthStatus: (() => HealthStatus);
    getProtocolStatus: ((protocol) => undefined | ProtocolHealth);
    updateProtocolHealth: ((multicodec, connectedPeers) => void);
}

Properties

getHealthStatus: (() => HealthStatus)

Type declaration

getProtocolStatus: ((protocol) => undefined | ProtocolHealth)

Type declaration

updateProtocolHealth: ((multicodec, connectedPeers) => void)

Type declaration

    • (multicodec, connectedPeers): void
    • Parameters

      • multicodec: string
      • connectedPeers: number

      Returns void