Preparing search index...
The search index is not available
Oceanic
Oceanic
SequentialBucket
Class SequentialBucket
A ratelimit bucket.
Index
Constructors
constructor
Properties
last
latency
Ref
limit
processing
remaining
reset
Methods
queue
Constructors
constructor
new
Sequential
Bucket
(
limit
,
latencyRef
)
:
SequentialBucket
Parameters
limit
:
number
latencyRef
:
LatencyRef
Returns
SequentialBucket
Properties
last
last
:
number
latency
Ref
latency
Ref
:
LatencyRef
limit
limit
:
number
processing
processing
:
boolean
|
Timeout
= false
remaining
remaining
:
number
reset
reset
:
number
Methods
queue
queue
(
func
,
priority
?
)
:
void
Add an item to the queue.
Parameters
func
:
(
(
cb
)
=>
void
)
The function to queue.
(
cb
)
:
void
Parameters
cb
:
(
(
)
=>
void
)
(
)
:
void
Returns
void
Returns
void
priority
:
boolean
= false
Returns
void
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
last
latency
Ref
limit
processing
remaining
reset
queue
Oceanic
AnnouncementChannel
AnnouncementThreadChannel
Application
ApplicationCommand
Attachment
AuditLogEntry
AutoModerationRule
AutocompleteInteraction
Base
BaseEntitlement
Bucket
CategoryChannel
Channel
Client
ClientApplication
Collection
CommandInteraction
ComponentInteraction
DependencyError
DiscordHTTPError
DiscordRESTError
Loading...
A ratelimit bucket.