export declare class WorkerContextFetchingStrategy implements IContextFetchingStrategy
export declare class WorkerContextFetchingStrategy implements IContextFetchingStrategy
No summary provided.
Implements
IContextFetchingStrategyconstructor(options)
Constructs a new instance of the
WorkerContextFetchingStrategy
className | Type | Optional | Description |
---|---|---|---|
options | FetchingStrategyOptions | No | None |
Readonly
Name | Type | Optional | Description |
---|---|---|---|
shardId | number | No | None |
updateSessionInfo(shardId, sessionInfo)
:
void
Name | Type | Optional | Description |
---|---|---|---|
shardId | number | No | None |
sessionInfo | SessionInfo | null | No | None |
waitForIdentify(shardId, signal)
:
Promise<void>
Name | Type | Optional | Description |
---|---|---|---|
shardId | number | No | None |
signal | AbortSignal | No | None |