An ES7 decorator for delaying function calls. Uses setTimeout internally.
Installation
Install the package with NPM:
$ npm install delay-decorator
Usage
The following example should be self-explanatory:
; @ { return "Woof!" } let dog = ;let promise = dog;promise; // Print "Woof!" after 2 seconds.