Coroutine.create
From GiderosMobile
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Available since: Gideros 2011.6
Class: coroutine
Description
Creates a new coroutine, with body f. f must be a Lua function.
(thread) = coroutine.create(f)
Parameters
f: (function) Lua function
Return values
Returns (thread) created coroutine