Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/markmap/markmap
/ reset
Function
reset
packages/markmap-common/src/util.ts:77–82 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
75
timer: 0,
76
};
77
function
reset() {
78
if
(state.timer) {
79
window.clearTimeout(state.timer);
80
state.timer = 0;
81
}
82
}
83
function
run() {
84
reset();
85
if
(state.args) state.result = fn(...state.args);
Callers
2
run
Function · 0.85
debounce
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected