MCPcopy Create free account
hub / github.com/BabylonJS/BabylonNative / AppRuntime

Method AppRuntime

Core/AppRuntime/Source/AppRuntime.cpp:7–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5namespace Babylon
6{
7 AppRuntime::AppRuntime()
8 : m_workQueue{std::make_unique<WorkQueue>([this] { RunPlatformTier(); })}
9 {
10 Dispatch([this](Napi::Env env) {
11 JsRuntime::CreateForJavaScript(env, [this](auto func) { m_workQueue->Append(std::move(func)); });
12 });
13 }
14
15 AppRuntime::~AppRuntime()
16 {

Callers

nothing calls this directly

Calls 1

AppendMethod · 0.45

Tested by

no test coverage detected