generated from openscd/oscd-component
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Implement debounce to improve performance (#46)
* chore: implement debounce for input event listener Signed-off-by: Juan Muñoz <juan.munoz@alliander.com> * test: fix tests by awaiting the onFilterInput fn Signed-off-by: Juan Muñoz <juan.munoz@alliander.com> * chore: update README Signed-off-by: Juan Muñoz <juan.munoz@alliander.com> * chore: remove unused reject fn in promise Signed-off-by: Juan Muñoz <juan.munoz@alliander.com> * chore: making 500 the default delay for debounce Signed-off-by: Juan Muñoz <juan.munoz@alliander.com> --------- Signed-off-by: Juan Muñoz <juan.munoz@alliander.com>
- Loading branch information
1 parent
287f1f2
commit d00f143
Showing
3 changed files
with
41 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters