coroutine.wrap |
---|
Summary Creates a thread and returns a function to resume it Prototype
Description Creates a thread with body f, and then returns a function that can be used to resume the thread. This is a slightly simpler interface than the coroutine.create / coroutine.resume sequence, however it makes error management harder.
See Also ... Lua functions
coroutine.create - Creates a new coroutine thread
Topics
Lua base functions
(Help topic: lua=coroutine.wrap) |
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.