Interface: IPollNexusTaskQueueResponse
workflowservice.v1.IPollNexusTaskQueueResponse
Properties of a PollNexusTaskQueueResponse.
Implemented by
Properties
pollerGroupId
• Optional pollerGroupId: null | string
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
• Optional pollerGroupInfos: null | IPollerGroupInfo[]
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.
pollerScalingDecision
• Optional pollerScalingDecision: null | IPollerScalingDecision
Server-advised information the SDK may use to adjust its poller count.
request
• Optional request: null | IRequest
Embedded request as translated from the incoming frontend request.
taskToken
• Optional taskToken: null | Uint8Array
An opaque unique identifier for this task for correlating a completion request the embedded request.