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

Method initializeJS

quickjs/src/main/java/com/fongmi/quickjs/crawler/Spider.java:152–159  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

150 }
151
152 private void initializeJS() throws Exception {
153 submit(() -> {
154 createCtx();
155 createFun();
156 createObj();
157 return null;
158 }).get();
159 }
160
161 private void createCtx() {
162 ctx = QuickJSContext.create();

Callers 1

initMethod · 0.95

Calls 5

submitMethod · 0.95
createCtxMethod · 0.95
createFunMethod · 0.95
createObjMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected