Search...

IContextFetchingStrategy

export interface IContextFetchingStrategy 
export interface IContextFetchingStrategy 
Strategies responsible solely for making manager information accessible
Readonly

retrieveSessionInfo(shardId)

:

Awaitable<SessionInfo | null>

NameTypeOptionalDescription
shardIdnumberNoNone

updateSessionInfo(shardId, sessionInfo)

:

Awaitable<void>

NameTypeOptionalDescription
shardIdnumberNoNone
sessionInfoSessionInfo | nullNoNone

waitForIdentify(shardId, signal)

:

Promise<void>

Resolves once the given shard should be allowed to identify, or rejects if the operation was aborted
NameTypeOptionalDescription
shardIdnumberNoNone
signalAbortSignalNoNone