HolyLib Wiki

luathreads.CreateInterface

 LuaInterface luathreads.CreateInterface( )

Description

Creates a new, independent Lua interface.
It won't run on its own thread until LuaInterface:EnableThinking is called, or LuaInterface:RunTasks is used to run its queued tasks on HolyLib's thread pool instead.

Returns

1LuaInterface interface

The newly created interface