IContextFetchingStrategy
export declare interface IContextFetchingStrategy
export declare interface IContextFetchingStrategy
Strategies responsible solely for making manager information accessible
Readonly
Name | Type | Optional | Description |
---|---|---|---|
shardId | number | No | None |
updateSessionInfo(shardId, sessionInfo)
:
Awaitable<void>
Name | Type | Optional | Description |
---|---|---|---|
shardId | number | No | None |
sessionInfo | SessionInfo | null | No | None |
waitForIdentify(shardId, signal)
:
Promise<void>
Resolves once the given shard should be allowed to identify This should correctly handle the signal and reject with an abort error if the operation is aborted. Other errors will cause the shard to reconnect.
Name | Type | Optional | Description |
---|---|---|---|
shardId | number | No | None |
signal | AbortSignal | No | None |