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

Method completeError

quickjs/src/main/java/com/fongmi/quickjs/method/Global.java:211–213  ·  view source on GitHub ↗
(JSFunction complete)

Source from the content-addressed store, hash-verified

209 }
210
211 private void completeError(JSFunction complete) {
212 postCallback(complete, () -> complete.call(Connect.error(ctx)));
213 }
214
215 private boolean postCallback(JSFunction callback, Runnable runnable) {
216 boolean posted = submit(() -> callAndRelease(callback, runnable));

Callers 2

requestAsyncMethod · 0.95
onFailureMethod · 0.95

Calls 3

postCallbackMethod · 0.95
errorMethod · 0.95
callMethod · 0.45

Tested by

no test coverage detected