Skip to content

Commit 32523fb

Browse files
committed
Add documentation
1 parent 9f19af6 commit 32523fb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

temporal/api/nexusservices/workerservice/v1/request_response.proto

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ message WorkerCommandsRequest {
2424
}
2525
}
2626

27+
// Cancel an activity if it is still running. Otherwise, do nothing.
2728
message CancelActivity {
2829
bytes task_token = 1;
2930
}
@@ -39,7 +40,7 @@ message WorkerCommandsResponse {
3940
}
4041
}
4142

43+
// Treat both successful cancellation and no-op (activity is no longer running) as success.
4244
message CancelActivity {
4345
}
4446
}
45-

0 commit comments

Comments
 (0)