Returns the running coroutine
Returns the running coroutine, or no value when called by the main thread.
See Also ...
coroutine.create - Creates a new coroutine thread
Lua base functions
(Help topic: lua=coroutine.running)
Enter a search string to find matching documentation.
Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.
Gammon Software support
Forum RSS feed ( https://gammon.com.au/rss/forum.xml )