Search...

SimpleContextFetchingStrategy

export declare class SimpleContextFetchingStrategy implements IContextFetchingStrategy 
export declare class SimpleContextFetchingStrategy implements IContextFetchingStrategy 

No summary provided.

constructor(manager, options)

Constructs a new instance of the SimpleContextFetchingStrategy class
NameTypeOptionalDescription
managerWebSocketManagerNoNone
optionsFetchingStrategyOptionsNoNone
Readonly

retrieveSessionInfo(shardId)

:

Promise<SessionInfo | null>

NameTypeOptionalDescription
shardIdnumberNoNone

updateSessionInfo(shardId, sessionInfo)

:

import("@discordjs/util").Awaitable<void>

NameTypeOptionalDescription
shardIdnumberNoNone
sessionInfoSessionInfo | nullNoNone

waitForIdentify()

:

Promise<void>