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

Method createJsContext

valdi/src/valdi/v8/V8JavaScriptContextFactory.cpp:13–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11namespace Valdi::V8 {
12
13Ref<IJavaScriptContext> V8JavaScriptContextFactory::createJsContext(JavaScriptTaskScheduler* taskScheduler,
14 ILogger& /*logger*/) {
15 return makeShared<V8JavaScriptContext>(taskScheduler);
16}
17
18BytesView V8JavaScriptContextFactory::dumpHeap(std::span<IJavaScriptContext*> /*jsContexts*/,
19 JSExceptionTracker& exceptionTracker) {

Callers 4

initContextMethod · 0.45
withJsContextFunction · 0.45
initializeContextMethod · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by 1

initContextMethod · 0.36