| // Returns a function that will only be executed on and after the Nth call. | |
| function after(times, func) { | |
| return function() { | |
| if (--times < 1) { | |
| return func.apply(this, arguments); | |
| } | |
| }; | |
| } | |
| module.exports = after; | |
Xet Storage Details
- Size:
- 231 Bytes
- Xet hash:
- 70e200317feeda1bdb8576b5cb08efb56dc48c190eaa184ac4b3aa1e265bb8a7
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.