Home / Function/ resetSchedulerState() — vue Function Reference

resetSchedulerState() — vue Function Reference

Architecture documentation for the resetSchedulerState() function in scheduler.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  b0dbf752_3594_560e_a5a4_5a6563bda57a["resetSchedulerState()"]
  5f88c922_50d0_318e_0c71_29334294af47["flushSchedulerQueue()"]
  5f88c922_50d0_318e_0c71_29334294af47 -->|calls| b0dbf752_3594_560e_a5a4_5a6563bda57a
  style b0dbf752_3594_560e_a5a4_5a6563bda57a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/core/observer/scheduler.ts lines 22–29

function resetSchedulerState() {
  index = queue.length = activatedChildren.length = 0
  has = {}
  if (__DEV__) {
    circular = {}
  }
  waiting = flushing = false
}

Domain

Subdomains

Frequently Asked Questions

What does resetSchedulerState() do?
resetSchedulerState() is a function in the vue codebase.
What calls resetSchedulerState()?
resetSchedulerState() is called by 1 function(s): flushSchedulerQueue.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free