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

Function getProvidedThing

src/ui-svelte/functions.svelte.ts:201–204  ·  view source on GitHub ↗
(
  thingOrThingId: UsedThing | Id | undefined,
  offset: number,
)

Source from the content-addressed store, hash-verified

199 : (thingOrThingId as UsedThing);
200
201const getProvidedThing = <UsedThing extends Thing>(
202 thingOrThingId: UsedThing | Id | undefined,
203 offset: number,
204): UsedThing | undefined => getThing(getContextValue(), thingOrThingId, offset);
205
206const resolveProvidedThing = <UsedThing extends Thing>(
207 thingOrThingId: MaybeGetter<UsedThing | Id | undefined>,

Callers 8

getStoreFunction · 0.70
getMetricsFunction · 0.70
getIndexesFunction · 0.70
getQueriesFunction · 0.70
getRelationshipsFunction · 0.70
getCheckpointsFunction · 0.70
getPersisterFunction · 0.70
getSynchronizerFunction · 0.70

Calls 2

getThingFunction · 0.70
getContextValueFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…