Skip to content
New issue

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

useAxios: awaitable execute function #1607

Closed
4 tasks done
blooddrunk opened this issue May 17, 2022 · 1 comment · Fixed by #1723
Closed
4 tasks done

useAxios: awaitable execute function #1607

blooddrunk opened this issue May 17, 2022 · 1 comment · Fixed by #1723
Labels
enhancement New feature or request

Comments

@blooddrunk
Copy link

Clear and concise description of the problem

currently, only the result of useAxios is a promise-like object, it would help if the execute function also return the promise result of axios .

Suggested solution

I've seen it's mentioned here #1368 (comment), hopefully it will be implemented.

Alternative

No response

Additional context

No response

Validations

@blooddrunk blooddrunk added the enhancement New feature or request label May 17, 2022
@Eating-Eating
Copy link

need a pr?I guess I can do this,need to implement a promisify return in execute like what useFetch do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants