adopt static method
Adopt a ScriptingVM created by C++ requestVM. Replaces the C++ scripting context with one compatible with Dart (factory + console callback).
Implementation
static LuauState adopt(int vmPointer, Factory riveFactory) {
return adoptLuauState(vmPointer, riveFactory);
}