MCPcopy Create free account
hub / github.com/FongMi/TV / setTimeout

Method setTimeout

quickjs/src/main/java/com/fongmi/quickjs/method/Global.java:116–122  ·  view source on GitHub ↗
(JSFunction func, Integer delay)

Source from the content-addressed store, hash-verified

114 }
115
116 @Keep
117 @JSMethod
118 public Integer setTimeout(JSFunction func, Integer delay) {
119 Timeout timeout = createTimeout(func);
120 if (timeout == null) return 0;
121 return schedule(timeout, delay) ? timeout.id : 0;
122 }
123
124 @Keep
125 @JSMethod

Callers 5

cat.jsFile · 0.80
lFunction · 0.80
jquery.min.jsFile · 0.80
dtFunction · 0.80
htFunction · 0.80

Calls 2

createTimeoutMethod · 0.95
scheduleMethod · 0.95

Tested by

no test coverage detected