debounce-decorator-es6
Debounce decorator for es6+, with promise support
see https://www.npmjs.com/package/decorators-es6
Install
npm install debounce-decorator-es6
yarn add debounce-decorator-es6
Features
- Easy to use as decorator
- Promise support
- Debounce firing result in Promise chain(.then())
Usage
Default debounce time = 500ms
; message = 'msg'; @ { thismessage = message; return 'updated'; }; @ { return axios; } const store = ;store; store; store;