Interface: $Properties
Properties of a PollNexusTaskQueueResponse.
Extended by
Properties
pollerGroupId?
optionalpollerGroupId?:string|null
This poller group ID identifies the owner of the nexus task awaiting for synchronous
response.
Corresponding RespondNexusTaskCompleted and RespondNexusTaskFailed calls should pass this
value for proper response routing.
pollerGroupInfos?
optionalpollerGroupInfos?:$Properties[] |null
The weighted list of poller groups IDs that client should use for future polls to this task queue. Client is expected to:
- Maintain minimum number of pollers no less than the number of groups.
- Try to assign the next poll to a group without any pending polls,
- If every group has some pending polls, assign the next poll to a group randomly according to the weights.
pollerGroupsInfo?
optionalpollerGroupsInfo?:$Properties|null
The weighted, versioned list of poller groups IDs that client should use for future polls to
this task queue. Client should ignore this if it has already applied a snapshot with a
version greater than or equal to poller_groups_info.version. Client is expected to:
- Maintain minimum number of pollers no less than the number of groups.
- Try to assign the next poll to a group without any pending polls,
- If every group has some pending polls, assign the next poll to a group randomly according to the weights.
pollerScalingDecision?
optionalpollerScalingDecision?:$Properties|null
Server-advised information the SDK may use to adjust its poller count.
request?
optionalrequest?:$Properties|null
Embedded request as translated from the incoming frontend request.
taskToken?
optionaltaskToken?:Uint8Array<ArrayBufferLike> |null
An opaque unique identifier for this task for correlating a completion request the embedded request.