Interfaceservicesv0.6.0CooldownOptionsConfiguration options for CooldownManager. interface CooldownOptionsinterface CooldownOptionsMember overviewPropertiescooldownerrmessagePropertiesoptionalcooldownCooldown window in milliseconds (default 1000) cooldown: number;cooldown: number;optionalerrCustom error class to throw when a key is still cooling down; receives the remaining ms. err: new (msg: string, remaining: number) => Errorerr: new (msg: string, remaining: number) => ErroroptionalmessageMessage passed to the error constructor (default "Cooldown active") message: string;message: string;
optionalerrCustom error class to throw when a key is still cooling down; receives the remaining ms. err: new (msg: string, remaining: number) => Errorerr: new (msg: string, remaining: number) => Error
optionalmessageMessage passed to the error constructor (default "Cooldown active") message: string;message: string;