Coroutine.running

From GiderosMobile
Revision as of 15:26, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

Available since: Gideros 2022.3
Class: coroutine

Description

Returns the running coroutine. <syntaxhighlight lang="lua"> (coroutine) = coroutine.running() </source>

Return values

Returns (thread) the running coroutine