Interface AdvancedEvents

interface AdvancedEvents {
    batch-completed: ((result: BatchResult) => void);
    cache-optimization: ((stats: CacheStats) => void);
    circuit-breaker-open: ((upstream: string) => void);
    performance-warning: ((data: AdvancedPerformanceMetrics) => void);
    quota-warning: ((remaining: number) => void);
    retry-exhausted: ((error: Error, attempts: RetryAttempt[]) => void);
    security-threat: ((threat: SecurityThreat) => void);
    upstream-degraded: ((upstream: UpstreamHealth) => void);
}

Properties

batch-completed: ((result: BatchResult) => void)
cache-optimization: ((stats: CacheStats) => void)
circuit-breaker-open: ((upstream: string) => void)
performance-warning: ((data: AdvancedPerformanceMetrics) => void)
quota-warning: ((remaining: number) => void)
retry-exhausted: ((error: Error, attempts: RetryAttempt[]) => void)
security-threat: ((threat: SecurityThreat) => void)
upstream-degraded: ((upstream: UpstreamHealth) => void)