@backblaze-labs/b2-mcp
    Preparing search index...

    Function withCircuit

    • Run fn through the circuit breaker. When the breaker is open, this throws an EOPENBREAKER error immediately without invoking fn.

      Type Parameters

      • T

      Parameters

      • fn: () => Promise<T>

      Returns Promise<T>

      The callback result after the default circuit breaker allows execution.