Coroutine.running: Difference between revisions
From GiderosMobile
m Text replacement - "<source" to "<syntaxhighlight" |
m Text replacement - "</source>" to "</syntaxhighlight>" |
||
| Line 7: | Line 7: | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
(coroutine) = coroutine.running() | (coroutine) = coroutine.running() | ||
</ | </syntaxhighlight> | ||
=== Return values === | === Return values === | ||
Latest revision as of 13:26, 13 July 2023
Available since: Gideros 2022.3
Class: coroutine
Description
Returns the running coroutine.
(coroutine) = coroutine.running()
Return values
Returns (thread) the running coroutine