Home / Function/ reset() — tailwindcss Function Reference

reset() — tailwindcss Function Reference

Architecture documentation for the reset() function in instrumentation.ts from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  c18b586a_a902_76e2_851b_7d243a526067["reset()"]
  f86cf69c_7c70_7a89_a666_593c4245917f["Instrumentation"]
  c18b586a_a902_76e2_851b_7d243a526067 -->|defined in| f86cf69c_7c70_7a89_a666_593c4245917f
  6dc1dd11_64c4_2049_6b20_5094d747fd15["report()"]
  6dc1dd11_64c4_2049_6b20_5094d747fd15 -->|calls| c18b586a_a902_76e2_851b_7d243a526067
  style c18b586a_a902_76e2_851b_7d243a526067 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/@tailwindcss-node/src/instrumentation.ts lines 51–55

  reset() {
    this.#hits.clear()
    this.#timers.clear()
    this.#timerStack.splice(0)
  }

Domain

Subdomains

Called By

Frequently Asked Questions

What does reset() do?
reset() is a function in the tailwindcss codebase, defined in packages/@tailwindcss-node/src/instrumentation.ts.
Where is reset() defined?
reset() is defined in packages/@tailwindcss-node/src/instrumentation.ts at line 51.
What calls reset()?
reset() is called by 1 function(s): report.

Analyze Your Own Codebase

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

Try Supermodel Free