Interface: IPollWorkflowTaskQueueResponse
workflowservice.v1.IPollWorkflowTaskQueueResponse
Properties of a PollWorkflowTaskQueueResponse.
Hierarchy
-
↳
IPollWorkflowTaskQueueResponse
Properties
attempt
• Optional attempt: null | number
Starting at 1, the number of attempts to complete this task by any worker.
Inherited from
backlogCountHint
• Optional backlogCountHint: null | Long
A hint that there are more tasks already present in this task queue partition. Can be used to prioritize draining a sticky queue.
Specifically, the returned number is the number of tasks remaining in the in-memory buffer for this partition, which is currently capped at 1000. Because sticky queues only have one partition, this number is more useful when draining them. Normal queues, typically having more than one partition, will return a number representing only some portion of the overall backlog. Subsequent RPCs may not hit the same partition as this call.