IContextFetchingStrategy

export interface IContextFetchingStrategy
export interface IContextFetchingStrategy
Strategies responsible solely for making manager information accessible
Readonly
retrieveSessionInfo(shardId):Awaitable<SessionInfo | null>
NameTypeOptionalDescription
shardIdnumberNoNone
updateSessionInfo(shardId, sessionInfo):Awaitable<void>
NameTypeOptionalDescription
shardIdnumberNoNone
sessionInfoSessionInfo | nullNoNone
waitForIdentify(shardId, signal):Promise<void>
Resolves once the given shard should be allowed to identify This should correctly handle the signal and reject with an abort error if the operation is aborted. Other errors will cause the shard to reconnect.
NameTypeOptionalDescription
shardIdnumberNoNone
signalAbortSignalNoNone