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

Function useMetrics

src/ui-solid/primitives.ts:1234–1236  ·  view source on GitHub ↗
(
  id?: MaybeAccessor<Id | undefined>,
)

Source from the content-addressed store, hash-verified

1232export const useMetricsIds = () => useThingIds(OFFSET_METRICS);
1233
1234export const useMetrics = (
1235 id?: MaybeAccessor<Id | undefined>,
1236): Accessor<Metrics | undefined> => useThing(id, OFFSET_METRICS);
1237
1238export const useMetricsOrMetricsById = (
1239 metricsOrMetricsId?: MaybeAccessor<MetricsOrMetricsId | undefined>,

Callers 5

ContextProvidedThingsFunction · 0.90
MetricsViewFunction · 0.90
BodyFunction · 0.90

Calls 1

useThingFunction · 0.90

Tested by 2

ContextProvidedThingsFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…