chore: update to version 14.0.11 and align website URLs

This commit is contained in:
2026-01-11 11:34:13 +03:00
parent ef74383349
commit 19c8d69bd8
1499 changed files with 53633 additions and 89 deletions
+24
View File
@@ -0,0 +1,24 @@
/**
* @name nextTick
* @description Defer the operation to the queue for evaluation on the next tick
*/
export function nextTick(onExec, onError) {
// While Promise.resolve().then(...) would defer to the nextTick, this
// actually does not play as nicely in browsers like the setTimeout(...)
// approach. So the safer, though less optimal approach is the one taken here
setTimeout(() => {
Promise
.resolve()
.then(() => {
onExec();
})
.catch((error) => {
if (onError) {
onError(error);
}
else {
console.error(error);
}
});
}, 0);
}