MCPcopy Index your code
hub / github.com/tinyplex/tinybase / useProvideMetrics

Function useProvideMetrics

src/ui-react/hooks.ts:1554–1557  ·  view source on GitHub ↗
(
  metricsId: Id,
  metrics: Metrics,
)

Source from the content-addressed store, hash-verified

1552 useThingOrThingById(metricsOrMetricsId, OFFSET_METRICS);
1553
1554export const useProvideMetrics: typeof useProvideMetricsDecl = (
1555 metricsId: Id,
1556 metrics: Metrics,
1557): void => useProvideThing(metricsId, metrics, OFFSET_METRICS);
1558
1559export const useMetricIds: typeof useMetricIdsDecl = (
1560 metricsOrMetricsId?: MetricsOrMetricsId,

Callers 2

ProvideMetricsFunction · 0.90
ProvideThingsFunction · 0.90

Calls 1

useProvideThingFunction · 0.90

Tested by 2

ProvideMetricsFunction · 0.72
ProvideThingsFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…