Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.coroutine.resume

S๐Ÿท๏ธ Coroutine

Part of StarfallEx namespace

๐Ÿ”— External
coroutine.resume(thread, ...)
View on GitHub|lua/starfall/libs_sh/coroutine.lua:91
๐Ÿ“‹ 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

NameTypeDescription
coroutinethreadto resume
args...Optional parameters that will be passed to the coroutine

Returns

TypeDescription
...Any values the coroutine is returning to the main thread

Examples

No examples available.

Used In

No usages found in the codebase.