collectgarbage
functionimplementedavailable in: camelot
Control the garbage collector and query it for information. As of WoW 2.0, this is the same as the standard collectgarbage() in Lua, but prior to that it was quite different.
The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.
Parameters
| name | type | description |
|---|---|---|
opt | string? | This function is a generic interface to the garbage collector. It performs different functions according to its first argument: |
arg | number? | used as an argument for the "step", "setpause" and "setstepmul" calls. |
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 ↗.