You are reading the documentation for the
next
version of discord.js. Documentation for v13/v14+ has been moved to
old.discordjs.dev
/
docs
/
packages
/
util
/
main
/
Awaitable%3ATypeAlias
Search...
K
util
discord.js
brokers
builders
collection
core
formatters
next
proxy
rest
util
voice
ws
main
Functions
calculateShardId
getUserAgentAppendix
isEquatable
isJSONEncodable
lazy
range
shouldUseGlobalFetchAndWebSocket
Interfaces
Equatable
JSONEncodable
RangeOptions
Types
Awaitable
Awaitable
export declare type
Awaitable
<
T
>
=
PromiseLike
<
T
>
|
T
;
export declare type
Awaitable
<
T
>
=
PromiseLike
<
T
>
|
T
;
Summary
Represents a type that may or may not be a promise