waitEngineAsyncUpdate

Awaits thread until the engine updates independent of the frame.

API available only within a valid thread.

━ Syntax

[bool status] waitEngineAsyncUpdate()

━ Usage

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

Last updated