v0.13.6

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

nametype
workloadfunction

Returns

#nametype
1cothread
2resumeFuncfunction

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 ↗.