Search...

SimpleContextFetchingStrategy

declare class SimpleContextFetchingStrategy implements IContextFetchingStrategy 
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)

:

_discordjs_util.Awaitable<void>

NameTypeOptionalDescription
shardIdnumberNoNone
sessionInfoSessionInfo | nullNoNone