Skip to main content
Corvus Connection

Cooldown

Attribute
TheOmenDen.StreamPulse.Scripting.Attributes.CooldownAttributeEnforces a minimum interval between invocations of a handler. While the handler is in cooldown, matching events are skipped (not queued). Use it to debounce spammable commands.

Members

2
  • Milliseconds
    property
    int Milliseconds
    Minimum interval between invocations, in milliseconds.
  • Scope
    property
    CooldownScope Scope
    What the cooldown is tracked against. Defaults to PerHandler.