State proxiesOverview
LuaStateProxy.new
Creates a state proxy object.
Details#
Constructs a proxy for the current state when the execution context is available, otherwise nil. It does not create a separate VM or clone the current environment.
Examples#
Example
local state = LuaStateProxy.new()
print(state ~= nil)