Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API coroutine.yield

Last wiki revision 2022-07-21

Yields execution until resumed. [...] = coroutine.yield([...])

  • ... : Variable arguments - Parameters returned to the previous which had begun or resumed this coroutine.
  • ... : Variable arguments - Parameters supplied by the next which resumes this coroutine.

Yields every 1ms and resumes on the next frame until completion.

  • Roberto lerusalimschy 2003, Programming in Lua, Chapter 9.1: Coroutine Basics.

Source

https://warcraft.wiki.gg/wiki/API_coroutine.yield · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.