run_on_thread Asynchronous
runonthread
Starts a separate coroutine until completion or first yield; no chunk return values.
Luau
run_on_thread(target: thread, source: string, ...args: CrossStateValue) -> ()Parameters
| Parameter | Type |
|---|---|
target | thread |
source | string |
...args | CrossStateValue |
Argument fields
Luau
CrossStateValue = nil | boolean | number | string | Instance | {[CrossStateValue]: CrossStateValue}Returns
()This function returns no values.