ant-design / ant-design/pro-components

🧐[问题] actionRef.current?.reload() 似乎会受到debounceTime的限制

Open
#7,800 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

### 🧐 问题描述
当我调用 actionRef.current?.reload() 时发现它似乎会受到debounceTime的限制,在防抖时间内只会触发最后一次,并且之前的await reload 将失去响应,我想要一个能随时随地刷新table列表的api,并且它应该也是Promise的形式!谁能帮帮我

### 💻 示例代码

### 🚑 其他信息

Contributor guide

Open the contributing guide

Research direction

Start by locating the table implementation of actionRef.current?.reload() and the debounceTime handling in this TypeScript repository. Reproduce repeated reload calls during the debounce interval and trace how each returned Promise is settled; done means reload can be invoked immediately and each call retains the expected Promise response.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.