You are reading the documentation for the next version of discord.js. Documentation for v13/v14+ has been moved to old.discordjs.dev

WorkerContextFetchingStrategy

export declare class WorkerContextFetchingStrategy implements IContextFetchingStrategy
export declare class WorkerContextFetchingStrategy implements IContextFetchingStrategy

No summary provided.

constructor(options)
Constructs a new instance of the WorkerContextFetchingStrategy class
NameTypeOptionalDescription
optionsFetchingStrategyOptionsNoNone
Readonly
retrieveSessionInfo(shardId):Promise<SessionInfo | null>
NameTypeOptionalDescription
shardIdnumberNoNone
updateSessionInfo(shardId, sessionInfo):void
NameTypeOptionalDescription
shardIdnumberNoNone
sessionInfoSessionInfo | nullNoNone
waitForIdentify(shardId, signal):Promise<void>
NameTypeOptionalDescription
shardIdnumberNoNone
signalAbortSignalNoNone