GetGcParameters
Type
Used to extend the parameters for memory.getgc
from legacy versions of the API.
Properties
Types
GetGcParameters.Types:
{
string
}
The types that the returned table should include.
If not specified or not a table, defaults to returning all types.
UseWeakTable
GetGcParameters.UseWeakTable:
boolean
Whether or not the returned table should be a weak table. This is recommended to be set to true.
If not specified, defaults to true.