Spaces:
Runtime error
Runtime error
Download masteringModule/node_modules/lodash/delay.js from SE-09/HapticsProject: direct link, hf CLI and curl.
- Browser
- Download file 795 Bytes
-
https://huggingface.co/spaces/SE-09/HapticsProject/resolve/main/masteringModule/node_modules/lodash/delay.js
- Command line
-
hf download hf://spaces/SE-09/HapticsProject/masteringModule/node_modules/lodash/delay.js
-
curl -L -o delay.js https://huggingface.co/spaces/SE-09/HapticsProject/resolve/main/masteringModule/node_modules/lodash/delay.js
795 Bytes
| var baseDelay = require('./_baseDelay'), | |
| baseRest = require('./_baseRest'), | |
| toNumber = require('./toNumber'); | |
| /** | |
| * Invokes `func` after `wait` milliseconds. Any additional arguments are | |
| * provided to `func` when it's invoked. | |
| * | |
| * @static | |
| * @memberOf _ | |
| * @since 0.1.0 | |
| * @category Function | |
| * @param {Function} func The function to delay. | |
| * @param {number} wait The number of milliseconds to delay invocation. | |
| * @param {...*} [args] The arguments to invoke `func` with. | |
| * @returns {number} Returns the timer id. | |
| * @example | |
| * | |
| * _.delay(function(text) { | |
| * console.log(text); | |
| * }, 1000, 'later'); | |
| * // => Logs 'later' after one second. | |
| */ | |
| var delay = baseRest(function(func, wait, args) { | |
| return baseDelay(func, toNumber(wait) || 0, args); | |
| }); | |
| module.exports = delay; | |