ember-resources icon indicating copy to clipboard operation
ember-resources copied to clipboard

Debounce: make it possible to inmediately return the initial value

Open BoussonKarel opened this issue 2 years ago • 3 comments

Use case:

  • You have a computed property, for instance a query, which gets updated by some filters in your UI.
  • The initial debouncedQuery should be set to the value of query, and updates after that should be debounced by x ms

BoussonKarel avatar Sep 05 '23 07:09 BoussonKarel

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

⚠️ No Changeset found

Latest commit: 42673f5f0b1e62bc10b8b906461faea57759dae9

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Sep 05 '23 07:09 changeset-bot[bot]

any chance you can rebase? just merged something that'll fix parts of CI

NullVoxPopuli avatar Sep 06 '23 11:09 NullVoxPopuli