You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add activity_paused flag to ByID heartbeat response (#517)
<!-- Describe what has changed in this PR -->
**What changed?**
Add "activity_paused" flag to RecordActivityTaskHeartbeatByIdResponse.
<!-- Tell your future self why have you made these changes -->
**Why?**
1. It is needed to let long-running activity know that activity was
paused on the server.
2. Because it is missing in RecordActivityTaskHeartbeatByIdResponse but
present in RecordActivityTaskHeartbeatResponse
<!-- Are there any breaking changes on binary or code level? -->
**Breaking changes**
No.
Copy file name to clipboardExpand all lines: openapi/openapiv2.json
+4
Original file line number
Diff line number
Diff line change
@@ -10537,6 +10537,10 @@
10537
10537
"cancelRequested": {
10538
10538
"type": "boolean",
10539
10539
"description": "Will be set to true if the activity has been asked to cancel itself. The SDK should then\nnotify the activity of cancellation if it is still running."
10540
+
},
10541
+
"activityPaused": {
10542
+
"type": "boolean",
10543
+
"description": "Will be set to true if the activity is paused."
0 commit comments