vlio20 / utils-decorators

Decorators for web and node applications
https://vlio20.github.io/utils-decorators/
MIT License
216 stars 13 forks source link

debounce should support multi instances #145

Closed Shemesh closed 2 years ago

Shemesh commented 2 years ago

hi, the debounce decorator does not support multi instances. plz read this article - https://engineering.datorama.com/be-aware-of-the-debounce-decorator-6fb24a6d8d5 and here is the solution -https://github.com/NetanelBasal/helpful-decorators/blob/master/src/debounce.ts

vlio20 commented 2 years ago

@Shemesh would you mind submitting a PR?

vlio20 commented 2 years ago

The issue reproduced on stackblitz: https://angular-3bpkw9.stackblitz.io

vlio20 commented 2 years ago

Will be available in 2.0.5 fixed in #146