Available since: 2018.10
Pauses executions of thread (only a valid call inside thread function). Supplied arguments
can be retreived by a subsequent call to resume.
local ok, ... = Thread.yield(...)
...: (misc) arguments for next resume call to collect as return values
ok: (boolean) success
...: (misc) arguments provided by resume call