MCPcopy Create free account
hub / github.com/botbotrobotics/BotBrain / DataInIndicator

Function DataInIndicator

frontend/src/components/robot-header.tsx:883–890  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

881
882// Data In indicator component
883function DataInIndicator() {
884 const networkMetrics = useNetworkMetrics(1000);
885 return (
886 <span className="text-xs text-gray-600 dark:text-botbot-accent">
887 {formatDataRate(networkMetrics.dataIn)}
888 </span>
889 );
890}
891
892// Data Out indicator component
893function DataOutIndicator() {

Callers

nothing calls this directly

Calls 2

formatDataRateFunction · 0.90
useNetworkMetricsFunction · 0.85

Tested by

no test coverage detected