HolyLib Wiki

LuaInterface:EnableThinking

  LuaInterface:EnableThinking( boolean enable )

Description

Enables or disables this interface's own dedicated thread.
While enabled, the interface will continuously run its queued tasks on its own thread, instead of needing LuaInterface:RunTasks to be called manually.

Arguments

1boolean enable

true to create and start the thread, false to stop and destroy it