Show raw api
{
"functions": [
{
"name": "new",
"desc": "Constructs a new cooldown. Should be done via [CooldownBindersServer]. To create an\ninstance of this in Roblox, see [CooldownUtils.create].",
"params": [
{
"name": "obj",
"desc": "",
"lua_type": "NumberValue"
},
{
"name": "serviceBag",
"desc": "",
"lua_type": "ServiceBag"
}
],
"returns": [
{
"desc": "",
"lua_type": "Cooldown"
}
],
"function_type": "static",
"source": {
"line": 27,
"path": "src/cooldown/src/Server/Cooldown.lua"
}
}
],
"properties": [],
"types": [],
"name": "Cooldown",
"desc": "Represents a cooldown state with a time limit. See [CooldownBase] for more API.",
"realm": [
"Server"
],
"source": {
"line": 7,
"path": "src/cooldown/src/Server/Cooldown.lua"
}
}