coroutine. wrap
functionimplementedavailable in: camelot
Creates a coroutine from a function and returns a function that resumes it each time it is called. Errors inside the coroutine are raised in the caller. · description by wowlua
The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.
Parameters
| name | type |
|---|---|
workload | function |
Returns
| # | name | type |
|---|---|---|
| 1 | co | thread |
| 2 | resumeFunc | function |
In wowlua's emulated client
implementedwowlua models the system behind it. what the statuses mean
sources
Description: written by wowlua where no documentation describes the entry. Parameter and result notes: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.