MCPcopy Create free account
hub / github.com/Snapchat/Valdi / ~JavaScriptWorker

Method ~JavaScriptWorker

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

Source from the content-addressed store, hash-verified

12}
13
14JavaScriptWorker::~JavaScriptWorker() {
15 VALDI_INFO(_runtime->getLogger(), "Destroying JS Worker with URL: {}", _url);
16 _runtime->fullTeardown();
17}
18
19// Retrieve the onmessage function set by the script
20static Ref<ValueFunction> getGlobalOnMessage(JavaScriptEntryParameters& entry) {

Callers

nothing calls this directly

Calls 2

getLoggerMethod · 0.80
fullTeardownMethod · 0.45

Tested by

no test coverage detected