Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
ScriptLoader
Method · 0.45
operator()
Method · 0.45
SetPointerPosition
Method · 0.45
SetPointerDown
Method · 0.45
Initialize
Method · 0.45
Java_BabylonNative_Wrapper_surfaceCreated
Function · 0.45
Java_BabylonNative_Wrapper_surfaceChanged
Function · 0.45
RefreshBabylon
Function · 0.45
UpdateWindowSize
Function · 0.45
RestartRuntime
Method · 0.45
App.cpp
File · 0.45
InitBabylon
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected