v0.13.8

coroutine

namespaceavailable in: camelot

Status in wowlua

6 functions: 6 implemented, 0 recorded, 0 guessed.

Functions

functionwhat it doesstatus
createCreates a coroutine capable of yielding.
not in Blizzard's documentation
implemented
resumeBegins or resumes a coroutine. success [, ...] = coroutine.resume(co [, ...])
not in Blizzard's documentation
implemented
runningReturns the running coroutine, or nil when called from the main thread. · by wowlua
not in Blizzard's documentation
implemented
statusReturns the status of a coroutine: "running", "suspended", "normal" or "dead". · by wowlua
not in Blizzard's documentation
implemented
wrapCreates 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. · by wowlua
not in Blizzard's documentation
implemented
yieldYields execution until resumed. [...] = coroutine.yield([...])
not in Blizzard's documentation
implemented

"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.

sources

Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗; written by wowlua where no documentation describes the entry.