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