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

Function goForwardImpl

docs/pseudo.esm.sh/tinybase@9.0.0/index.js:526–533  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

524 }
525 };
526 const goForwardImpl = () => {
527 if (!arrayIsEmpty(forwardIds)) {
528 arrayPush(backwardIds, currentId);
529 currentId = arrayShift(forwardIds);
530 updateStore(1, currentId);
531 checkpointsChanged = 1;
532 }
533 };
534 const callListenersIfChanged = () => {
535 if (checkpointsChanged) {
536 callListeners(checkpointIdsListeners);

Callers 1

goForwardFunction · 0.70

Calls 4

arrayIsEmptyFunction · 0.70
arrayPushFunction · 0.70
arrayShiftFunction · 0.70
updateStoreFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…