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

Method Dispatch

Plugins/NativeEngine/Source/NativeEngine.cpp:1620–1625  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1618 }
1619
1620 void NativeEngine::Dispatch(std::function<void()> function)
1621 {
1622 m_runtime.Dispatch([function = std::move(function)](Napi::Env) {
1623 function();
1624 });
1625 }
1626}

Callers 2

RecursiveWaitOrCallMethod · 0.45
RequestAnimationFrameMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected