notifyListeners function ✓ 100.0%

Last updated: 2026-03-01T23:25:47.125Z

Metrics

LOC: 9 Complexity: 3 Params: 0 Coverage: 100.0% (3/3 lines, 1054x executed)

Signature

notifyListeners(): : void

Source Code

function notifyListeners(): void {
  for (const fn of listeners) {
    try {
      fn(localEntries);
    } catch {
      // Listener error — ignore
    }
  }
}

No outgoing dependencies.

Impact (Incoming)

graph LR notifyListeners["notifyListeners"] initLogStore["initLogStore"] addLogEntry["addLogEntry"] clearLogEntries["clearLogEntries"] initLogStore -->|calls| notifyListeners addLogEntry -->|calls| notifyListeners clearLogEntries -->|calls| notifyListeners style notifyListeners fill:#dbeafe,stroke:#2563eb,stroke-width:2px click notifyListeners "907bc8a226709b64.html" click initLogStore "e592afd94ce8e81f.html" click addLogEntry "b5eb9ecc61a3eb82.html" click clearLogEntries "b955aae3387005ad.html"
SourceType
initLogStore calls
addLogEntry calls
clearLogEntries calls