coroutine. create
functionimplementedavailable in: camelot
Creates a coroutine capable of yielding.
The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.
Parameters
| name | type | description |
|---|---|---|
workload | function | A function that may yield with coroutine.yield(). |
Returns
| # | name | type | description |
|---|---|---|---|
| 1 | co | thread | A complete coroutine usable with the coroutine library. |
| 2 | resumeFunc | function | A single function to begin/resume the workload. |
In wowlua's emulated client
implementedwowlua models the system behind it. what the statuses mean
sources
Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.