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

SFEX.coroutine.wrap

S๐Ÿท๏ธ Coroutine

Part of StarfallEx namespace

๐Ÿ”— External
coroutine.wrap(func)
View on GitHub|lua/starfall/libs_sh/coroutine.lua:81
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Creates a new coroutine.

Parameters

NameTypeDescription
funcfunctionFunction of the coroutine

Returns

TypeDescription
functionA function that, when called, resumes the created coroutine. Any parameters to that function will be passed to the coroutine.

Examples

No examples available.

Used In

No usages found in the codebase.