Available since: 2018.10
Resumes a thread that has been yielded (only a valid call outside a thread). It returns arguments passed by the
yield call and arguments supplied to resume are returned by the yield call
to the thread.
local ok, ... = thread:resume(...)
...: (misc) arguments that will be returned by yield call that we resumed
ok: (boolean) success
...: (misc) arguments provided by yield call