Preview environment

class WorkerContextFetchingStrategy

export declare class WorkerContextFetchingStrategy implements IContextFetchingStrategy

Constructors

constructor()

Constructs a new instance of the WorkerContextFetchingStrategy class

readonly
options : FetchingStrategyOptions

retrieveSessionInfo(
shardId: number
) : Promise<SessionInfo | null>

updateSessionInfo(
shardId: number
sessionInfo: SessionInfo | null
) : void

waitForIdentify(
shardId: number
signal: AbortSignal
) : Promise<void>