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

feat(useDebounceFn,useThrottleFn): return result using promise #2580

merged 4 commits into from Jan 3, 2023


Copy link

@vaakian vaakian commented Dec 25, 2022

closes #2566

This is incremental, no breaking change. And I shall make the same change on useThrottleFn, done.


Additional context

What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

Before submitting the PR, please make sure you do the following

  • Read the Contributing Guidelines.
  • Read the Pull Request Guidelines.
  • Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
  • Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
  • Ideally, include relevant tests that fail without this PR but pass with it.

@vaakian vaakian changed the title feat(useDebounceFn): return result using promise feat(useDebounceFn, useThrottleFn): return result using promise Dec 25, 2022
@vaakian vaakian marked this pull request as ready for review December 25, 2022 11:07
Copy link

antfu commented Jan 3, 2023

That's a nice feature, thank you!

@antfu antfu changed the title feat(useDebounceFn, useThrottleFn): return result using promise feat(useDebounceFn,useThrottleFn): return result using promise Jan 3, 2023
@antfu antfu merged commit 4d3051a into vueuse:main Jan 3, 2023
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

Make useDebounceFn return fetchable
2 participants