HMCL-dev / HMCL-dev/HMCL

[Feature] Task 优化计划

Open
#3,120 0 comments 0 reactions 0 assignees View on GitHub

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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.