Available since: 2018.10
Get any results from thread if finished now, or after waiting a supplied number of microseconds.
Also throws any runtime errors generated by a thread, call periodically to check.
local ok, ... = thread:getResults(wait_time)
wait_time: (number) time in microseconds to wait for result if none available
ok: (boolean) success
...: (misc) any number of returned variables