Skip to content

useRequest 的轮询模式下的 runAsync 是怎么使用的 #2378

Answered by liuyib
ZhihaoLau asked this question in Q&A
Discussion options

You must be logged in to vote

官网文档还没更新,所以我把 pr 截图给你吧:
https://github.com/alibaba/hooks/pull/2358/files

轮询时一般不会直接使用 runAsync,除非需要手动触发请求了,可以用 run或者runAsync

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ZhihaoLau
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants