We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No description provided.
The text was updated successfully, but these errors were encountered:
这里的拉取是指轮询吗? 在中后台场景下,websocket 的使用并不普及,轮询还是一个比较常用的处理方法。比如查询一个项目的构建状态,预案执行的情况等等。所以直接在 useAsync 里内置了定时器,希望能最大程度上降低业务代码逻辑的复杂度。
Sorry, something went wrong.
我个人认为轮训的在所有 async 请求的比例不算太高,轮训应该是一个新的 hooks。 不过现在已经写了,也不能改了。
Merge pull request #63 from ice-lab/refactor/useEventTarget
edd2f05
refactor: useEventTarget api
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: