persona-community-5/.pnpm-store/v3/files/f4/389515082993db308fc4c6b48d817b62cd067f803be75387d4b2e827cb9f5d67fb13c51b40c76881d1f03449d47ec9fab8e9bef39401951e045b155a59bc53
rdev-worker a1d0d1bf1c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
build: /implement-feature community-ui --requirements 'Build the React commu...
2026-02-24 08:22:30 +00:00

10 lines
402 B
Plaintext

/*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
let promise
module.exports = typeof queueMicrotask === 'function'
? queueMicrotask.bind(typeof window !== 'undefined' ? window : global)
// reuse resolved promise, and allocate it lazily
: cb => (promise || (promise = Promise.resolve()))
.then(cb)
.catch(err => setTimeout(() => { throw err }, 0))