📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-07-02 00:22:02
📂
/ (Root)
/
home
/
orkouolp
/
web
/
testing.orkobd
/
laravel
/
node_modules
/
alpinejs
/
src
📍 /home/orkouolp/web/testing.orkobd/laravel/node_modules/alpinejs/src
🔄 Refresh
✏️
Editing: nextTick.js
Writable
let tickStack = [] let isHolding = false export function nextTick(callback = () => {}) { queueMicrotask(() => { isHolding || setTimeout(() => { releaseNextTicks() }) }) return new Promise((res) => { tickStack.push(() => { callback(); res(); }); }) } export function releaseNextTicks() { isHolding = false while (tickStack.length) tickStack.shift()() } export function holdNextTicks() { isHolding = true }
💾 Save Changes
❌ Cancel