Search
Preparing search index...
The search index is not available
dank-twitch-irc
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
SlowModeRateLimiter
Class SlowModeRateLimiter
Hierarchy
SlowModeRateLimiter
Implements
ClientMixin
Index
Constructors
constructor
Properties
GLOBAL_
SLOW_
MODE_
COOLDOWN
Methods
apply
ToClient
Constructors
constructor
new
Slow
Mode
Rate
Limiter
(
client
:
ChatClient
, maxQueueLength
?:
number
)
:
SlowModeRateLimiter
Parameters
client:
ChatClient
Default value
maxQueueLength:
number
= 10
Returns
SlowModeRateLimiter
Properties
Static
GLOBAL_
SLOW_
MODE_
COOLDOWN
GLOBAL_
SLOW_
MODE_
COOLDOWN
:
number
= 1.5
Methods
apply
ToClient
apply
ToClient
(
client
:
ChatClient
)
:
void
Parameters
client:
ChatClient
Returns
void
Globals
Slow
Mode
Rate
Limiter
constructor
GLOBAL_
SLOW_
MODE_
COOLDOWN
apply
ToClient
Generated using
TypeDoc