v0.13.6

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

nametypedescription
workloadfunctionA function that may yield with coroutine.yield().

Returns

#nametypedescription
1cothreadA complete coroutine usable with the coroutine library.
2resumeFuncfunctionA 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 ↗.