MCPcopy Create free account
hub / github.com/TruthHun/BookStack / nextTickHandler

Function nextTickHandler

static/vuejs/vue.common.js:451–458  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

449 var timerFunc;
450
451 function nextTickHandler () {
452 pending = false;
453 var copies = callbacks.slice(0);
454 callbacks.length = 0;
455 for (var i = 0; i < copies.length; i++) {
456 copies[i]();
457 }
458 }
459
460 // the nextTick behavior leverages the microtask queue, which can be accessed
461 // via either native Promise.then or MutationObserver.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected