interface IContextFetchingStrategy

external
interface IContextFetchingStrategy

Strategies responsible solely for making manager information accessible

readonlyexternal
options : FetchingStrategyOptions

external
retrieveSessionInfo(
shardId: number
) : Awaitable<SessionInfo | null>

external
updateSessionInfo(
shardId: number
sessionInfo: SessionInfo | null
) : Awaitable<void>

external
waitForIdentify(
shardId: number
signal: AbortSignal
) : 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.