MCPcopy Create free account
hub / github.com/ading2210/linuxpdf / set_interval

Function set_interval

pdflinux.js:37–41  ·  view source on GitHub ↗
(callback, interval)

Source from the content-addressed store, hash-verified

35}
36
37function set_interval(callback, interval) {
38 let id = Math.random()+"";
39 timeout_callbacks[id] = callback;
40 app.setInterval(safe_script(`set_interval_callback(${id})`), interval);
41}
42
43function print_msg(msg) {
44 lines.push(""+msg);

Callers 2

start_machine_intervalFunction · 0.85
pdflinux.jsFile · 0.85

Calls 1

safe_scriptFunction · 0.85

Tested by

no test coverage detected