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

Function createGoForwardCallback

src/ui-svelte/functions.svelte.ts:930–935  ·  view source on GitHub ↗
(
  checkpointsOrCheckpointsId?: MaybeGetter<Checkpoints | Id | undefined>,
)

Source from the content-addressed store, hash-verified

928};
929
930export const createGoForwardCallback = (
931 checkpointsOrCheckpointsId?: MaybeGetter<Checkpoints | Id | undefined>,
932): (() => void) => {
933 const getCheckpoints = resolveCheckpoints(checkpointsOrCheckpointsId);
934 return () => getCheckpoints()?.goForward();
935};
936
937export const getPersister = (id?: Id): AnyPersister | undefined =>
938 getProvidedThing(id, OFFSET_PERSISTER) as AnyPersister | undefined;

Callers 1

GettersFunction · 0.50

Calls 3

resolveCheckpointsFunction · 0.70
getCheckpointsFunction · 0.70
goForwardMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…