MCPcopy
hub / github.com/tinyplex/tinybase / useCreateMetrics

Function useCreateMetrics

src/ui-react/hooks.ts:1536–1540  ·  view source on GitHub ↗
(
  store: Store | undefined,
  create: (store: Store) => Metrics,
  createDeps?: DependencyList,
)

Source from the content-addressed store, hash-verified

1534 );
1535
1536export const useCreateMetrics: typeof useCreateMetricsDecl = (
1537 store: Store | undefined,
1538 create: (store: Store) => Metrics,
1539 createDeps?: DependencyList,
1540): Metrics | undefined => useCreate(store, create, createDeps);
1541
1542export const useMetricsIds: typeof useMetricsIdsDecl = () =>
1543 useThingIds(OFFSET_METRICS);

Callers 3

TestFunction · 0.90
MetricsFunction · 0.50
MetricsFunction · 0.50

Calls 1

useCreateFunction · 0.70

Tested by 1

TestFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…