class SimpleContextFetchingStrategy
implements
IContextFetchingStrategyexport declare class SimpleContextFetchingStrategy implements IContextFetchingStrategy
Constructors
manager: WebSocketManageroptions: FetchingStrategyOptions)
constructor(manager: WebSocketManager
options: FetchingStrategyOptions
Constructs a new instance of the SimpleContextFetchingStrategy
class
readonlyFetchingStrategyOptions options :
retrieveSessionInfoshardId: number) : Promise<SessionInfo | null> (
shardId: number
updateSessionInfoshardId: numbersessionInfo: SessionInfo | null) : import("@discordjs/util").Awaitable<void> (
shardId: number
sessionInfo: SessionInfo | null
waitForIdentifyshardId: numbersignal: AbortSignal) : Promise<void> (
shardId: number
signal: AbortSignal