Coroutine.create

From GiderosMobile
Revision as of 10:16, 23 August 2018 by Hgy29 (talk | contribs)

Available since: Gideros 2011.6

Description

Creates a new coroutine, with body f. f must be a Lua function. Returns this new coroutine, an object with type "thread".

(coroutine) = coroutine.create(f)

'f: (function) lua function '
Returns (coroutine) created coroutine