waitEngineUpdate

Awaits thread until the engine updates.

API available only within a valid thread.

━ Syntax

[bool status] waitEngineUpdate()

━ Usage

vEngine.thread.create(function() --Creates a new thread
    print("Hello") --Prints "Hello"
    vEngine.thread.waitEngineUpdate() --Waits for engine's update state
    print("There") --Prints "There"
end)

Last updated