kinetex - v1.4.0
    Preparing search index...

    Class CircuitBreakerRegistry

    Registry that manages one CircuitBreaker per key (typically per origin/host). Automatically creates breakers on first use.

    Index
    • Wrap a function call through the breaker for key. Creates the breaker if it doesn't exist.

      Type Parameters

      • T

      Parameters

      Returns Promise<T>

    • Manually trip the breaker for key (creates it if it doesn't exist).

      Parameters

      • key: string

      Returns void

    • Manually reset the breaker for key (creates it if it doesn't exist).

      Parameters

      • key: string

      Returns void