I was introduced to these seemingly new stuff by a friend and it seems there is zero documentations to be found.
2 Likes
3 Likes
Task library is not documented yet because it is added only recently and it’s functions are currently in beta.
task.synchronize()
and task.desynchronize()
are introduced with Paralled Lua Beta:
task.defer()
and task.spawn()
are introduced with Deferred Lua Event Handling Beta:
task.delay()
and task.wait()
are added with the Release Notes for update 486 but their purpose are currently unclear right now.
I see that task.wait() and task.delay() got added in this release, is there a time period later this year where they’ll be enabled to be used in production, as well as task.spawn()?
Edit: Turns out task.delay()
and task.wait()
pretty much does the exact same thing as delay()
and wait()
global functions respectively.
2 Likes
We enabled these recently but please refrain from using them in any published work until we make an official announcement about them. More to come soon.
5 Likes