temporalio / temporalio/sdk-java

Support cancellation of long client calls

Open
#1,914 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
433
Forks
249
Avg merge
5d 6h
Merged PRs (30d)
26

Description

Describe the solution you'd like

Provide some way for users to cancel a long client call such as getting workflow result or getting update result. Also consider providing a timeout utility on this that cancels after a certain amount of time. Try to follow common Java practices here if possible.

(sorry if an issue exists for this already)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Java client entry points for getting workflow results and update results. Review the existing client-call behavior and common Java cancellation practices before deciding on the API shape. Done should include a documented way to cancel long calls and a timeout utility, with behavior verified by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.