Search...

SimpleContextFetchingStrategy

No summary provided.
declare class SimpleContextFetchingStrategy implements IContextFetchingStrategy 
declare class SimpleContextFetchingStrategy implements IContextFetchingStrategy 

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