[Feature] Task 优化计划
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Java
- Stars
- 10.1k
- Forks
- 934
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 82
Description
本 Issue 将用于跟踪 Task 的相关问题
目前,HMCL 的 Task 有以下问题:
- Task.completed 生成的 Task 无法立刻获取其返回值。即,他依然需要通过 start 启动后才可获取结果
- 取消按键逻辑不清晰。设计到网络请求时,无法直接放弃该 Task
#3096 使用微软登录启动游戏时若登录连接超时则启动游戏对话框无法关闭
原因 | Reason
/
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the Task.completed and start entry points, then inspect the cancellation behavior for network requests and the Microsoft-login timeout scenario described in #3096. The issue does not define the intended API or acceptance criteria, so clarify the desired completed-task result and cancellation behavior before implementation; done should include agreed behavior for both cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100