MCPcopy Create free account
hub / github.com/ZingerLittleBee/ServerBee / formatPacketLoss

Function formatPacketLoss

apps/web/src/lib/network-types.ts:72–74  ·  view source on GitHub ↗
(loss: number)

Source from the content-addressed store, hash-verified

70}
71
72export function formatPacketLoss(loss: number): string {
73 return `${(loss * 100).toFixed(1)}%`
74}
75
76export interface NetworkProbeResultData {
77 avg_latency: number | null

Callers 3

TargetCardFunction · 0.90
NetworkQualityWidgetFunction · 0.90
ProviderColumnFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected