MCPcopy Create free account
hub / github.com/TruthHun/BookStack / Delayed

Function Delayed

static/editor.md/lib/codemirror/lib/codemirror.js:8019–8019  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8017 var sel_dontScroll = {scroll: false}, sel_mouse = {origin: "*mouse"}, sel_move = {origin: "+move"};
8018
8019 function Delayed() {this.id = null;}
8020 Delayed.prototype.set = function(ms, f) {
8021 clearTimeout(this.id);
8022 this.id = setTimeout(f, ms);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected