Search...

WorkerContextFetchingStrategy

export declare class WorkerContextFetchingStrategy implements IContextFetchingStrategy 
export declare class WorkerContextFetchingStrategy implements IContextFetchingStrategy 

No summary provided.

constructor(options)

Constructs a new instance of the WorkerContextFetchingStrategy class
NameTypeOptionalDescription
optionsFetchingStrategyOptionsNoNone
Readonly

retrieveSessionInfo(shardId)

:

Promise<SessionInfo | null>

NameTypeOptionalDescription
shardIdnumberNoNone

updateSessionInfo(shardId, sessionInfo)

:

void

NameTypeOptionalDescription
shardIdnumberNoNone
sessionInfoSessionInfo | nullNoNone