MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / reset

Function reset

packages/app-core/src/lib/keymaps.ts:1513–1517  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1511 if (!token) return false;
1512
1513 const reset = (): void => {
1514 pendingRef.current = 0;
1515 if (timerRef.current) clearTimeout(timerRef.current);
1516 timerRef.current = undefined;
1517 };
1518
1519 if (pendingRef.current > 0) {
1520 if (token === tokens[pendingRef.current]) {

Callers 1

advanceSequenceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected