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

Function nextTickHandler

static/vuejs/vue.js:455–462  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected