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

Method submit

quickjs/src/main/java/com/fongmi/quickjs/method/Global.java:75–84  ·  view source on GitHub ↗
(Runnable runnable)

Source from the content-addressed store, hash-verified

73 }
74
75 private boolean submit(Runnable runnable) {
76 try {
77 if (destroyed) return false;
78 if (executor.isShutdown()) return false;
79 executor.submit(runnable);
80 return true;
81 } catch (Throwable ignored) {
82 return false;
83 }
84 }
85
86 @Keep
87 @JSMethod

Callers 2

postCallbackMethod · 0.95
runMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected