| var restArguments = require('./restArguments.js'); | |
| // Delays a function for the given number of milliseconds, and then calls | |
| // it with the arguments supplied. | |
| var delay = restArguments(function(func, wait, args) { | |
| return setTimeout(function() { | |
| return func.apply(null, args); | |
| }, wait); | |
| }); | |
| module.exports = delay; | |
Xet Storage Details
- Size:
- 325 Bytes
- Xet hash:
- 5ebb2330ede4d2b16525bcf8bb76c118302a2a7aa5279036f5240350833afb56
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.