MCPcopy Create free account
hub / github.com/tinyplex/tinybase / useCheckpoint

Function useCheckpoint

docs/pseudo.esm.sh/tinybase@9.0.0/ui-react/index.js:1170–1175  ·  view source on GitHub ↗
(checkpointId, checkpointsOrCheckpointsId)

Source from the content-addressed store, hash-verified

1168 2
1169);
1170var useCheckpoint = (checkpointId, checkpointsOrCheckpointsId) => useListenable(
1171 CHECKPOINT,
1172 useCheckpointsOrCheckpointsById(checkpointsOrCheckpointsId),
1173 5,
1174 [checkpointId]
1175);
1176var useSetCheckpointCallback = (getCheckpoint = getUndefined, getCheckpointDeps = EMPTY_ARRAY, checkpointsOrCheckpointsId, then = getUndefined, thenDeps = EMPTY_ARRAY) => {
1177 const checkpoints = useCheckpointsOrCheckpointsById(
1178 checkpointsOrCheckpointsId

Callers 1

CheckpointViewFunction · 0.70

Calls 2

useListenableFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…