Search...

WorkerContextFetchingStrategy

No summary provided.
declare class WorkerContextFetchingStrategy implements IContextFetchingStrategy 
declare class WorkerContextFetchingStrategy implements IContextFetchingStrategy 

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