MCPcopy Create free account
hub / github.com/Snapchat/Valdi / doClose

Method doClose

valdi/src/valdi/runtime/JavaScript/JavaScriptWorker.cpp:124–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122 auto message = JavaScriptMessage::make(callContext.getParameter(0), transfer, nullptr);
123 if (!message) {
124 callContext.getExceptionTracker().onError(message.moveError());
125 return Value::undefined();
126 }
127 message.value()->dispatchHandler(
128 self->getHostOnMessage(),
129 [weakSelf]() {

Callers 1

closeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected