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

Method Global

quickjs/src/main/java/com/fongmi/quickjs/method/Global.java:42–49  ·  view source on GitHub ↗
(QuickJSContext ctx, ExecutorService executor)

Source from the content-addressed store, hash-verified

40 private volatile boolean destroyed;
41
42 private Global(QuickJSContext ctx, ExecutorService executor) {
43 this.executor = executor;
44 this.timerId = new AtomicInteger();
45 this.timers = new ConcurrentHashMap<>();
46 this.timer = new Timer("quickjs-timer", true);
47 this.ctx = ctx;
48 setProperty();
49 }
50
51 public static Global create(QuickJSContext ctx, ExecutorService executor) {
52 return new Global(ctx, executor);

Callers

nothing calls this directly

Calls 1

setPropertyMethod · 0.95

Tested by

no test coverage detected