vlio20 / utils-decorators

Decorators for web and node applications

Home Page:https://vlio20.github.io/utils-decorators/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

debounce should support multi instances

Shemesh opened this issue · comments

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

@Shemesh would you mind submitting a PR?

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

Will be available in 2.0.5
fixed in #146