declare class WorkerContextFetchingStrategy implements IContextFetchingStrategy
Constructors
options: FetchingStrategyOptions)
constructor(options: FetchingStrategyOptions
Constructs a new instance of the WorkerContextFetchingStrategy
class
readonlyexternalFetchingStrategyOptions options :
external retrieveSessionInfoshardId: number) : Promise<SessionInfo | null> (
shardId: number
external updateSessionInfoshardId: numbersessionInfo: SessionInfo | null) : void (
shardId: number
sessionInfo: SessionInfo | null
external waitForIdentifyshardId: numbersignal: AbortSignal) : Promise<void> (
shardId: number
signal: AbortSignal