Coroutine.create
From GiderosMobile
Available since: Gideros 2011.6
Class: coroutine
Description
Creates a new coroutine, with body f. f must be a Lua function. <syntaxhighlight lang="lua"> (thread) = coroutine.create(f) </source>
Parameters
f: (function) Lua function
Return values
Returns (thread) created coroutine