Skip to content

Conversation

@cretz
Copy link
Member

@cretz cretz commented Oct 21, 2024

What was changed

  • Added ability to provide Cancellation to all RPC calls to cancel them
  • Move rpc_metadata and rpc_timeout (and low-level rpc_retry) into Client::RPCOptions along with this new cancellation field
    • 3, sometimes 4 kwargs for advanced RPC options that are rarely set became too much

Why?

Checklist

  1. Closes [Feature Request] Client RPC call cancellation #168

@cretz cretz requested a review from a team October 21, 2024 13:13
@cretz cretz merged commit 67741fc into temporalio:main Oct 21, 2024
6 checks passed
@cretz cretz deleted the rpc-cancel branch October 21, 2024 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Client RPC call cancellation

2 participants