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

Function useProvideMetrics

src/ui-solid/primitives.ts:1243–1244  ·  view source on GitHub ↗
(metricsId: Id, metrics: Metrics)

Source from the content-addressed store, hash-verified

1241 useThingOrThingById(metricsOrMetricsId, OFFSET_METRICS);
1242
1243export const useProvideMetrics = (metricsId: Id, metrics: Metrics): void =>
1244 useProvideThing(metricsId, metrics, OFFSET_METRICS);
1245
1246export const useMetricIds = (
1247 metricsOrMetricsId?: MaybeAccessor<MetricsOrMetricsId | undefined>,

Callers 1

Calls 1

useProvideThingFunction · 0.90

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…