Part of StarfallEx namespace
๐ External
coroutine.resume(thread, ...)๐ Has LDoc๐๏ธ 0 viewsUpdated 2 months ago
Description
Resumes a suspended coroutine. Note that, in contrast to Lua's native coroutine.resume function, it will not run in protected mode and can throw an error.
Parameters
| Name | Type | Description |
|---|---|---|
coroutine | thread | to resume |
args | ... | Optional parameters that will be passed to the coroutine |
Returns
| Type | Description |
|---|---|
... | Any values the coroutine is returning to the main thread |
Examples
No examples available.
Used In
No usages found in the codebase.