File manager - Edit - /opt/alt/alt-nodejs16/root/usr/lib/node_modules/npm/lib/utils/pulse-till-done.js
Back
const log = require('./log-shim.js') let pulseTimer = null const withPromise = async (promise) => { pulseStart() try { return await promise } finally { pulseStop() } } const pulseStart = () => { pulseTimer = pulseTimer || setInterval(() => { log.gauge.pulse('') }, 150) } const pulseStop = () => { clearInterval(pulseTimer) pulseTimer = null } module.exports = { withPromise, }
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings