Show raw api
{
"functions": [
{
"name": "memoize",
"desc": "Memoizes a function with a max size",
"params": [
{
"name": "func",
"desc": "",
"lua_type": "function"
},
{
"name": "cacheConfig",
"desc": "",
"lua_type": "CacheConfig"
}
],
"returns": [],
"function_type": "static",
"source": {
"line": 19,
"path": "src/memoize/src/Shared/MemorizeUtils.lua"
}
},
{
"name": "isCacheConfig",
"desc": "Returns true if a valid cache config",
"params": [
{
"name": "value",
"desc": "",
"lua_type": "any"
}
],
"returns": [
{
"desc": "",
"lua_type": "boolean"
}
],
"function_type": "static",
"source": {
"line": 50,
"path": "src/memoize/src/Shared/MemorizeUtils.lua"
}
},
{
"name": "createCacheConfig",
"desc": "Creates a new cache config",
"params": [
{
"name": "cacheConfig",
"desc": "",
"lua_type": "table | nil"
}
],
"returns": [
{
"desc": "",
"lua_type": "CacheConfig"
}
],
"function_type": "static",
"source": {
"line": 60,
"path": "src/memoize/src/Shared/MemorizeUtils.lua"
}
}
],
"properties": [],
"types": [],
"name": "MemorizeUtils",
"desc": "",
"source": {
"line": 4,
"path": "src/memoize/src/Shared/MemorizeUtils.lua"
}
}