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

Method Dispatch

Core/JsRuntime/Source/JsRuntime.cpp:44–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42 }
43
44 void JsRuntime::Dispatch(std::function<void(Napi::Env)> function)
45 {
46 std::scoped_lock lock{m_mutex};
47 m_dispatchFunction(std::move(function));
48 }
49}

Callers 15

ScriptLoaderMethod · 0.45
operator()Method · 0.45
SetPointerPositionMethod · 0.45
SetPointerDownMethod · 0.45
InitializeMethod · 0.45
RefreshBabylonFunction · 0.45
UpdateWindowSizeFunction · 0.45
RestartRuntimeMethod · 0.45
App.cppFile · 0.45
InitBabylonFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected